1, Overview of tuning
1.1 purpose of tuning
Prevent the occurrence of OOM, and carry out JVM planning and pre tuningSolve various OOM problems in program operationReduce the frequency of Full GC and solve the problems of slow operation and jamming
2, Problems of production environment
2.1 heap overflow
reason: 1. There may be large object ...
Class loader is the premise for JVM to execute class loading mechanism.
Functions of ClassLoader: ClassLoader is the core component of Java. All classes are loaded by ClassLoader. ClassLoader is responsible for reading the binary data stream of Class information into the JVM through various ways and converting it into a Java co ...
Posted by creet0n on Thu, 24 Feb 2022 14:51:59 +0100
Introduction to the author
Unsafe is located in sun A class under misc package mainly provides some m ...
Posted by crucialnet on Sun, 20 Feb 2022 01:38:04 +0100
Deep understanding of JVM (VII) -- class loading and bytecode Technology (I)
1. Class file structure
Get first class bytecode file
Write java code in the text document (the file name is consistent with the class name), and change the file type to javaIn ...
Posted by anujgarg on Wed, 16 Feb 2022 13:12:01 +0100
brief introductionWhy are there so many JAVA programmers in the world? One of the important reasons is that compared with C + +, JAVA does not need to consider the release of objects, and everything is completed by the garbage collector. In the modern programming world that advocates simplicity, there are fewer and fewer experts who can speak C ...
Posted by kooper on Mon, 14 Feb 2022 10:44:03 +0100
This article is based on JVM [produced by dark horse programmer] Notes made during instructional video learning
1, What is a JVM
Java Virtual Machine, the running environment of JAVA program (the running environment of JAVA binary bytecode)
Write once and run everywhereAutomatic memory management, garbage c ...
Posted by immot on Sun, 13 Feb 2022 11:46:53 +0100
On the way to the interview
"Didi, Didi..." master, where are we? I'm in a hurry for an interview.
Master: it's almost there. It's the next intersection. I'm really convinced by these people. I can't drive all the way in.
Listening to the driver's complaints, I can't help thinking of a limerick poem: the tail lights are red all o ...
Posted by shawjames on Sat, 12 Feb 2022 04:46:48 +0100
1. Interaction among stack, heap and method area
The method area is also a very important structure in addition to the heap space In terms of memory structure, this is the complete structure in a runtime data area
We need to understand how these iterations are allocated to the stack, heap and method area, and how they cooperate
From the pers ...
Posted by 86Stang on Fri, 11 Feb 2022 22:36:15 +0100
springboot e-commerce project mall4j( https://gitee.com/gz-yami/mall4j)
java open source mall system
Verify the whole process of object header change during synchronized lock upgrade
jdk version: 1.8
System: Windows 10 64 bit
jvm startup parameters: - XX:BiasedLockingStartupDelay=0 (cancel delayed load bias lock)
First, we need to know ...
Posted by tomhath on Thu, 10 Feb 2022 16:43:33 +0100
Some time ago, a new employee came to the company. He said that the new employee had been outsourcing code for one and a half years before he came to our company. Once I chatted with him about List. I casually asked him how to solve the unsafe multi-threaded concurrency of List collection when outsourcing. Unexpectedly, he looked at me ...
Posted by gdboling on Thu, 10 Feb 2022 13:19:36 +0100