jvm
Hello students, today the second brother is to pay off the debt, remember to drag it to the end of the article and then come back to read carefully, OK! Recently, I have been learning about Java virtual machine and bytecode, so that I can become a really powerful technology boss one day! I don'UTF-8...
Posted by CentralOGN on Thu, 13 May 2021 06:44:12 +0930
Learning video link: Black horse programmer JVM complete tutorial 1. Class loading phase 1.1 loading phase Load the bytecode of the class into the method area, and use the instanceKlass of C + + to describe the java class _ java_mirror is the class image of Java. For example, for String, it isUTF-8...
Posted by nyy2000 on Sun, 16 May 2021 06:35:18 +0930
Preface Yesterday, I took a written test for a company and felt that my basic knowledge was weak, so I plan to brush some java basic knowledge questions to improve my proficiency in basic knowledge.However, the efficiency of not reviewing or correcting my own errors is also very low, so I intenUTF-8...
Posted by smudge on Wed, 19 May 2021 01:50:04 +0930
Use @ componentscan to scan components automatically Case preparation 1. Create a configuration class and add @ ComponentScan annotation on it. By default, the annotation will scan all configuration classes under the package where the class is located, which is equivalent to the previous annotaUTF-8...
Posted by Jasp182 on Sat, 22 May 2021 03:09:31 +0930
What is escape? Escape Analysis is a cutting-edge optimization technology in Java virtual machine. Like type inheritance analysis, it is not a direct method to optimize code, but an analysis technology to provide basis for other optimization methods. The basic behavior of escape analysis is toUTF-8...
Posted by smti on Thu, 03 Jun 2021 07:40:58 +0930
JVM class loading and initialization Class load initialization loading loads the class file into memorylinking Verification: check whether the class file meets the standardpreparation: give the static variable a default value, such as i=0 for static int i = 8resolution: the symbolic referencesUTF-8...
Posted by zingbats on Wed, 09 Jun 2021 03:10:52 +0930
What is annotation Annotation and reflection are the bottom layers of all frameworks, such as Mybatis, Spring, etc. annotation is for programs, and comment is for people. Annotation is the simplest chapter in Java foundation, so it's not hard to feel it. The function of annotation Annotation isUTF-8...
Posted by simonp on Wed, 09 Jun 2021 04:39:53 +0930
Many people ask me what my schoolgirl looks like, not to mention the picture above! [access to information] 1, Enumeration class Class has only a limited number of objects, which are deterministic. We call this class enumeration class explain: 1. There are only a limited number of objects in thUTF-8...
Posted by SnakeO on Wed, 16 Jun 2021 04:00:27 +0930
01 Preface In front of us, we understand the theoretical knowledge related to the JVM. This chapter mainly interprets the JVM from the actual combat aspect. Class 02 loading mechanism After the Java source code is compiled into bytecode by the compiler, it needs to be loaded into the virtual maUTF-8...
Posted by zenabi on Thu, 17 Jun 2021 07:49:28 +0930
What is concurrency Concurrency, in my understanding, is an unexpected problem when a piece of code is executed by multiple threads at the same time When will concurrency problems occur When a variable is a global variable and may be accessed by multiple threads at the same time, there will be UTF-8...
Posted by josa on Sun, 04 Jul 2021 05:15:54 +0930