Garbage collection in tolua + +
I want to know how the functions exported by tolua + + implement garbage collection and how to use meta methods__ On the gc Association.
doubt
gc of lua Looking at the code, the keyword used is ". collector", while lua's gc is through modifying the meta method__ gc implemented
Garbage userdata with a field __gc in their metatab ...
Posted by newbreed65 on Thu, 17 Feb 2022 22:16:09 +0100
There are two bugs hidden in the source code of Java 8 ConcurrentHashMap
I suggest you take a look at the source code of concurrent HashMap of Java 7. The source code of that version is a textbook of Java multithreaded programming. In the source code of Java 7, the author is very cautious about the use of pessimistic locks. Most of them are converted to spin lock and volatile to obtain the same semantics. Even if th ...
Posted by Devil_Banner on Thu, 17 Feb 2022 22:12:50 +0100
Binary installation and backup of mysql!!
MySQL installation!
1. Download the installation package!
[root@lzz ~]# wget https://downloads.mysql.com/archives/get/p/2 three/file/mysql-five.7.33-linux-glibc2.12-x8 six_6 four.tar.gz
--2021-05-05 23:42:16-- https://downloads.mysql.com/archives/get/p/23/file/mysql-5.7.33-linux-glibc2.12-x86_64.tar.gz
Resolving host downloads ...
Posted by Rochtus on Thu, 17 Feb 2022 22:10:02 +0100
Crawling dynamic data - simulation browser (Selenium introduction to actual combat)
catalogue
First, simulate the browser's environmental preparation.
1. Introduction to selenium
2.Selenium installation
3. Install WebDriver
(1) Installing chromedriver
(2) Add chromedriver to environment variable
2, Example: use Selenium operation browser to obtain QQ music list data
1. Start the browser
2. Use webdriver to open qq mus ...
Posted by GremlinP1R on Thu, 17 Feb 2022 21:50:25 +0100
shell script -- Operator
Fundamentals of shell programming (shell script learning notes)
operator
Operators in Shell mainly include comparison operator (for integer comparison), string operator (for string test), file operation operator (for file test), logical operator, arithmetic operator, bit operator, self increasing and self decreasing operator, etc.
1. A ...
Posted by elie on Thu, 17 Feb 2022 21:40:37 +0100
webpack source code analysis series - loader
Why do I need a loader
webpack is a static module packaging tool for modern JavaScript applications. Internally, one or more bundle static resources are generated by building the dependency relationship between dependency graph management modules. However, webpack can only handle JavaScript and Json modules. In addition to JavaScript and Jso ...
Posted by eXpertPHP on Thu, 17 Feb 2022 21:35:04 +0100
Practical explanation of enterprise level project! First line Internet mobile architect NDK module development! Interview experience
start
During the "golden three silver four" season, there are always many people looking for the same thing called "Mianjing". In fact, it is a specific question, and then sharpen their guns and "recite" the answer. If this is always the case, I believe your ability will not be improved, even if you work for three ...
Posted by noguru on Thu, 17 Feb 2022 21:35:37 +0100
Reflection and annotation
Class loading concept and class loading timing
Class loading concept
When the class file is loaded into the jvm, a class object will be created accordingly; It is divided into three steps: loading, connecting and initializing
load:
Load the class file into the memory area and generate a class object accordingly
connect:
Verify: ve ...
Posted by cheese on Thu, 17 Feb 2022 21:31:48 +0100
Maximum product (DP + high precision)
Title Link https://www.luogu.com.cn/problem/P1018
This year is the "2000 - world year of mathematics" determined by the International Mathematical Union, and coincides with the 90th anniversary of the birth of Mr. Hua Luogeng, a famous mathematician in China. In Jintan, Jiangsu, Mr. Hua Luogeng's hometown, a new mathematical intellig ...
Posted by Hiro on Thu, 17 Feb 2022 21:25:04 +0100
Share your recent experience of learning react source code
Share your recent experience of learning react source code
Write in front: I have been learning the source code of React recently. The purpose of writing this article is two:
Share your learning experience and hope that students with relevant learning needs will have an address to find and avoid detours.Convert the learned content into text ...
Posted by ninevolt1 on Thu, 17 Feb 2022 21:21:42 +0100