In March, the warmth of spring blossoms, and it is the season for boys and girls to cherish spring again! Since it's Huaichun, dog food is definitely unavoidable, and as expected, he was slapped a few days ago, and he was still with him. The only advantage of me is that I have blessings and sharing. If I eat one bite, I will definitely give you half. Then I have it. Come and taste what it tastes like. Take a look at the collection of interview questions compiled by Ali P7 for girlfriend interviews.
Java Virtual Machine
Java memory model
- The difference between Jdk and Jre and JVM
- Tell me about those parts of JVM, what is the running process?
- A detailed introduction to the program counter? (Key understanding)
- Introduce the Java virtual machine stack in detail? (emphasis on understanding)
- What does the stack point to the heap mean?
- Can you give me a detailed introduction to the Java heap? (emphasis on understanding)
- What is the JVM bytecode execution engine
- Know the garbage collection system?
- What is the difference between stacks?
Garbage collection mechanism and algorithm
- Briefly describe the Java garbage collection mechanism
- What is GC? Why GC
- Pros and cons of garbage collection
- What is the principle of the garbage collector? Is there any way to manually perform garbage collection?
- How to judge whether the object can be recycled?
- What are the JVM garbage collection algorithms?
Garbage collector and new generation, old generation, permanent generation
- Talk about the difference between the new generation, the old generation and the permanent generation
- What are Minor GC, Major GC, and Full GC
- Minor GC, Major GC, Full GC difference and trigger conditions
- Why should the new generation be divided into Eden and two Survivor regions?
- What is the default ratio of the old Java heap to the Young?
- What is the garbage collector? What is the difference between it and garbage algorithm
Memory allocation strategy
- Briefly describe the java memory allocation and recovery strategy and Minor GC and Major GC
- Objects are allocated first in the Eden area
- Why do big objects directly enter the old age
Virtual machine class loading mechanism
- Briefly describe the java class loading mechanism?
- The mechanism and process of class loading
- Describe the principle mechanism of JVM loading Class files
- What are class loaders and what are the class loaders?
- Talk about the execution process of class loading?
JVM tuning
- JVM tuning parameters can be set parameter values there
- Tell me about JVM tuning tools?
- What are the commonly used JVM tuning parameters?
- JVM GC collector settings
Tomcat
- What is Tomcat?
- What is the default port of Tomcat and how to modify it
- How to install Tomcat on Linux
- How to deploy a project in Linux
- Tomcat directory structure
- Similar to Tomcat, what other web servers release jsp and run?
- How to optimize tomcat?
- What kinds of connector operating modes (optimization) does tomcat have?
- How many ways to deploy Tomcat?
- How does tomcat container create servlet class instance? What principle was used?
- Tomcat working mode
- Tomcat top-level architecture
- The subtle relationship between Connector and Container
- Container architecture analysis
Hold your hand, grow old with you
Maybe this is the love of programmers. I envy it. Finally, I wish them a long life together.
In addition, there are multi-threaded concurrency, spring principles, microservices, Netty and RPC, Kafka, diary, design patterns, Java algorithms, databases, Zookeeper, distributed caches, data structures, etc. Interview questions and answer analysis. Friends who need an interview , Interview questions and review materials can be received for free by adding the assistant WeChat bjmsb10
Mybatis source code analysis
Questions about the MySQL soul of the interviewer
In-depth analysis of Redis
Analysis of popular interview questions and answers for 2000 companies
Recommended by Spring Family Barrel
Information collection method: Scan the below to get it for free! ! Don't forget Sanlian to support the blogger~