written in front
100 questions to solve the big data theory system
1000 questions to solve the big data technology system
Directory Structure
- Why should Java code run in a virtual machine?
- How does Java code run in a virtual machine?
- How to divide the data area when the JVM is running?
- What is the difference between heap and stack?
- What is the runtime stack frame structure?
- How is the Java heap divided?
- Why does the JVM adopt an architecture oriented to the operand stack instead of registers?
- What is the relationship between the method area, permanent generation, constant pool, and metaspace?
- How is String.intern() implemented?
- How does Java use direct memory?
- What is the process of the new keyword in the virtual machine? What are the steps for the JVM to construct an object?
- What is the storage layout of objects in heap memory?
- What is the problem of virtual sharing of object fields? How to solve the problem of virtual sharing of object fields?
- How to judge whether the object is dead?
- What is the difference between Minor GC and Full GC?
- How to understand GC logs?
- The difference between the four types of references in Java?
- What are the garbage collection algorithms?
- What do safe points and safe areas mean?
- What garbage collectors are there in the JVM?
- What is G1 GC?
- How to tune GC?
- What are the JVM performance monitoring and troubleshooting tools?
- What is Arthas? how to use?
- What is the process of calling a Java method?
- How does the Java virtual machine identify the target method?
- How is the virtual method call implemented in the Java virtual machine?
- How is invokedynamic implemented?
- How is Java8's Lambda expression implemented?
- How does the JVM handle exceptions?
- How does the JVM implement reflection?
- What is the structure of the class class file?
- What is the implementation principle of this and super in Java?
- When is the class loaded?
- What is the process of class loading?
- How does array type accomplish class loading?
- What is the parental delegation model?
- In which cases classloading does not need to obey the parental delegation model?
- What are some common bytecode instructions?
- What is Java Agent?
- What are the Java syntax sugar?
- What is just-in-time compilation? What is tiered compilation?
- What is profiling of JVM?
- What are the types of compilers in Java?
- What optimizations does the just-in-time compiler have?
- What does the JVM do when optimizing Java code?
- What is method inlining?
- Under what circumstances will a method call be inlined?
- What is the devirtualization of the just-in-time compiler?
- What is intrinsic in HotSpot virtual machine?
- What is the Unsafe class in Java?
- What do escape analysis, stack allocation, scalar replacement, synchronization elimination, and lock elimination refer to?
- What is the optimization of the just-in-time compiler for field read and store instructions?
- Under what circumstances would loop code be optimized? What optimizations does the JVM have for looping code?
- Under what circumstances will object allocation be optimized? Are all objects in the JVM only allocated on the heap?
- What is the vectorization optimization of the just-in-time compiler? What exactly are SIMDs?
- What is the underlying principle of JDK9 strings?
- What is the implementation principle of the annotation processor? What is the implementation principle of Lombok?
- The realization principle of the final field?
- What is the Java memory model?
- What is main memory and working memory?
- What is the happens-before principle?
- How does the Java virtual machine implement synchronized?
- What is the implementation principle of volatile?
- What is the implementation principle of JNI?
- How to avoid JVM memory leaks?
references
- "In-depth Understanding of Java Virtual Machine: JVM Advanced Features and Best Practices 3rd Edition" by Zhou Zhiming
- Geek Time column "In-depth dismantling of the Java virtual machine" Zheng Yudi
- Geek Time column "Java performance tuning in practice" Liu Chao
- Geek Time column "Java core technology interview essence" Yang Xiaofeng
- "JVM G1 Source Code Analysis and Tuning" edited by Peng Chenghan
- "The Logic of Java Programming" by Ma Junchang
- Distinguish between several constant pools in Java (string constant pool, class constant pool and runtime constant pool)
- In the garbage collection mechanism, how does the reference counting method maintain all object references?
- Accessibility Analysis Explained
- Introduction to JVM ZGC
- Java cutting-edge technology - ZGC ZGC introduction
- PC register of JVM
- The latest Ali interview questions: talk about the underlying implementation principles of THIS and SUPER keywords in JAVA
- Detailed explanation of String's Intern method
- Analysis of syntactic sugar in java
- If you don’t understand these 12 grammatical sugars, don’t say you know Java!
- What syntactic sugar is there in Java?
- ClickHouse official website
- On Java 8