JVM learning diary ⭐️HotSpot garbage collector (下)⭐️
"This is the 22nd day of my participation in the August More text Challenge" ? Introduction Next, finish the rest of the garbage collector. ⭐️ Classic garbage collector ?SerialOld collector The SerialOld collector is Serial
JVM
What is a Java Virtual Machine? A Java Virtual Machine is a Virtual computer implemented by software emulation on a real computer. Java virtual machines have their own imaginary hardware, such as processors, stacks, and mail
Java VIRTUAL machine class loading mechanism
As we know, a.java file is compiled to form one or more Class files (or multiple Class files if a Class contains inner classes) that describe the various information about the Class and ultimately need to be loaded into the virtual machine to be run and used. In fact, the virtual machine loads the data describing the Class from the Class file...
JVM GC time increases frequently, I will teach you to check
1. Background LongGC alarms are generated in applications of multiple service lines. In the recent period, LongGC alarms are frequently received from CAT (LongGC alarms are generated if the configuration is longer than 3 seconds). 2. Knowledge Review 2.1JVM heap memory partitioning new Generation (YoungGenerati)
Guava source code analysis (Cache principle)
Guava is a core enhanced Java library that is widely used. I usually use quite frequently, this time with the help of daily use of the Cache component to see how Google big bulls are designed. Caching is an important part of everyday development. If your application has a high read frequency for certain types of data and changes are small, caching is a great use.
In what part of the JVM does GC occur, there are several GCS, and what are their algorithms?
This is the 18th day of my participation in the August Update Challenge. Check out the event details: In which part of the JVM does GC occur, there are several TYPES of GC, and what is their algorithm? Brain map: Which part of the JVM does GC occur In the JVM heap overview of the JVM architecture
Learning from the ground up ->JVM (6) : Threads and JVM relationships
In front of the Class loader articles, we can see that the Class loader by Java Class bytecode file, create a Class object, and through the load - validation - to - resolution - initialization and a series of process, the Java classes loaded into the JVM, until this time, the JVM will transfer the ownership to the Java application. At this point, our Java program can run...
Garbage collector ParNew and CMS
Garbage collector is inseparable from garbage collection algorithm. The garbage collection algorithm is based on generational collection theory. That is, our heap area is usually divided into young generation and old age, the purpose of which is mainly to distinguish objects with different life cycles, such as dynasty
Java multithreading: From basic concepts to a guide to avoiding pitfalls
Multicore machines are now very common. Even a mobile phone is equipped with a powerful multi-core processor. By means of multi-process and multi-thread, multiple cpus can be made to work simultaneously to speed up the execution of tasks. Multithreading is a more advanced topic in programming. As it relates to the
My first book, Understanding JVM Bytecode in Depth, was published
After nearly a year, my first book, Understanding JVM Bytecode In Depth, is finally published. The idea for this book came from the gold-digger booklet JVM Bytecode from Beginner to Master, which was my first technical column, and it was also in the spirit of summing up my knowledge of JVM bytecode. After the nuggets went live, although the sales are not good, BUT I got a lot of comments, look...