This content has been marked as final. Show 1 reply
user11433837 wrote:There is documentation about the functionality for hotspot and garbage collection. The former is often used to refer to just in time compilation rather than simply in terms of the VM and the garbage collector.
but there are so many files that i am unable to understand the source code
That documentation describes what it does not how it does it.
Since the VM is complicated there is a lot of source code.
How should i startRead the source code.
Run it in a debugger and step through it with different small examples.
Read up on articles about diferent garbage collection strategies.
and is there any documentation about the source code?No.
The alternative to the above is to start with something less ambitious. For example find several garbage collection algorithms and attempt to implement them yourself.