Below I describe each directory:
agent--->Mainly the realization of Serviceability Agent.
make--->Used to build various configuration files of HotSpot.
src------>The source code of the HotSpot VM.
|
|
cpu---->CPU related code.
os-----> operating system related code.
os_cpu--->Relevant code of operating system + CPU combination.
share ----> platform-independent common code.
|
|
tools---->Related tools
|
|
hsdis---->Disassembly plugin
IdealGraphVisualizer----->Visualize the intermediate code of the Server compiler
launcher----> launcher "java"
LogCompilation-->The log output by -XX:LogCompilation
Tools to organize into a more readable format.
ProjectCreator--->A tool to generate project files of Visual Studio.
vm------->Core code of HotSpot VM
|
|
adlc--->Platform description file
asm--->Assembler interface.
c1------>Client compiler.
ci-------> public services/interfaces for the dynamic compiler.
classfile---> class file processing (including class loading and system symbol table characters)
· code---->Dynamic generated code management.
compiler-->compiler interface.
gc_implementation-->GC implementation
|
|
concurrentMarkSweep--->Concurrent Mark Sweep GC implementation
Implementation of g1-->Garbage-First GC (does not use the old zoning GC framework)
Implementation of parallelScavenge-->ParallelScavenge GC
parNew---->ParNew GC implementation.
shared----> Common implementation of GC.
gc_interface -----> GC interface
interpreter ---> interpreter, including template interpreter.
libadt -----> some abstract data structures.
memory----> memory management related (the old generational GC framework is also in it).
oops---->The implementation of the object system of the HotSpot VM.
opto------>Server compiler.
prims------> External interface of HotSpot VM, including some standard libraries
The native part and the implementation of JVMTI.
runtime----> runtime support library (including thread management, compiler scheduling, locking, reflection, etc.).
services----> is mainly used to support the interface of management functions such as JMX.
shark-------> LLVM based JIT compiler.
utilities-----> some basic tools.
test-----> unit test.