Preface
This time I’m very honored to be able to invite this Alibaba P8 tycoon to organize this "Java Core Interview Knowledge Points" for us . This information is more powerful. It covers almost all Java core knowledge points and integrates into the big Some of my own experience and thoughts!
The document covers knowledge:
Interview must ask: Java basics, high concurrency, multithreading, distributed, design patterns, Spring family bucket, Java, MyBatis, ZooKeeper, Dubbo, Elasticsearch, Memcached, MongoDB, Redis, MySQL, RabbitMQ, Kafka, Linux, Netty, Tomcat and other knowledge points are explained in detail and interview questions.
and!
It also has various mind maps to help everyone learn and understand!
Now let me introduce how many knowledge points are covered by this "Java Core Interview Knowledge Points" compiled by Ali P8 !
Since the entire document is relatively comprehensive and has a lot of content, if there is a need for friends who need to obtain information, there is a direct address at the end of the article.
JVM
One, thread
Two, JVM memory area
- Program counter (thread private)
- Virtual machine stack (thread private)
- Local method area (thread private)
- Heap (Heap-thread sharing)-runtime data area
- Method area/permanent generation (thread sharing)
Three, JVM runtime memory
- Cenozoic
- Old age
- Permanent generation
Fourth, garbage collection and algorithms
- How to identify rubbish
- Mark-Sweep Algorithm (Mark-Sweep)
- Copying algorithm (copying)
- Mark-Compact (Mark-Compact)
- Generational collection algorithm
Five, JAVA four reference types
- Strong citation
- Soft reference
- Phantom reference
- Weak reference
Sixth, GC generational collection algorithm VS partition collection algorithm
- Generational collection algorithm
- Partition collection algorithm
Seven, GC garbage collector
- Serial garbage collector (single thread, copy algorithm)
- ParNew Garbage Collector (Serial+Multithreaded)
- Parallel Scavenge collector (multi-threaded replication algorithm, high efficiency)
- Serial Old Collector (Single-Threaded Mark Sorting Algorithm)
- Parallel Old Collector (multi-threaded mark sorting algorithm)
- CMS collector (multi-threaded mark removal algorithm)
- G1 collector
Eight, JAVA IO / NIO
- Blocking IO model
- Non-blocking IO model
- Multiplexed IO model
- Signal-driven IO model
- Asynchronous IO model
- JAVA IO 包
- JAVA NIO
- Channel
- Buffer
- Selector
Nine, JVM class loading mechanism
- JVM class loading mechanism
- Class loader
- Parental delegation
- OSGI (Dynamic Model System)
Java collection
- Interface inheritance and implementation
- List
- Set
- Map
JAVA multi-threaded concurrency
- JAVA Concurrent Knowledge Base
- JAVA thread implementation / creation method
- 4 thread pools
- Thread life cycle (state)
- 4 ways to terminate threads
- The difference between sleep and wait
- The difference between start and run
- JAVA background thread
- JAVA lock
- Basic thread method
- Thread context switch
- Synchronization and deadlock
- Principle of Thread Pool
- JAVA blocking queue principle
- Usage of CyclicBarrier, CountDownLatch, Semaphore
- The role of the volatile keyword (variable visibility, prohibit reordering)
- How to share data between two threads
- ThreadLocal function (thread local storage)
- The difference between synchronized and ReentrantLock
- ConcurrentHashMap concurrency
- Thread scheduling used in Java
- Process scheduling algorithm
- What is CAS (Compare and Exchange-Optimistic Locking Mechanism-Lock Spin)
- What is AQS (Abstract Queue Synchronizer)
JAVA basics
- JAVA exception classification and handling
- JAVA reflection
- JAVA annotation
- JAVA inner class
- JAVA generic
- JAVA serialization (creating reusable Java objects)
- JAVA copy
Spring principle
- Spring features
- Spring core components
- Spring common modules
- Spring main package
- Spring common annotations
- Spring third-party integration
- Spring IOC principle
- Spring APO principle
- Spring MVC principle
- Spring Boot principle
- JPA principle
- Mybatis cache
- Tomcat architecture
Microservice
- Service registration discovery
- API gateway
- Configuration Center
- Event scheduling (kafka)
- Service tracking (starter-sleuth)
- Service Fuse (Hystrix)
- API management
Netty 与 RPC
- Netty principle
- Netty high performance
- Netty RPC implementation
- RMI implementation
- Protoclol Buffer
- Thrift
Zookeeper
- Zookeeper concept
- Zookeeper role
- How Zookeeper Works (Atomic Broadcast)
- Znode has four types of directory nodes
Kafka
- Kafka concepts
- Kafka data storage design
- Producer design
- Consumer design
RabbitMQ
- concept
- RabbitMQ architecture
- Exchange type
Obtaining method: Need this Java core knowledge study notes to add assistant VX: C18173184271 to obtain the complete download path method