Entry function of GC Collection

Andrew Haley aph at redhat.com
Mon Jul 27 07:56:20 UTC 2015


On 25/07/15 21:30, Abhinav Jangda wrote:
> It will be great if anyone of you could help me.

Please forgive me if I'm telling you things to already know, but:

This question is one you could answer very quickly if you were using a
debugger, so I am assuming that for some reason you don't use one.

Run the debug build of HotSpot inside a debugger.  Put a breakpoint on
the functions you care about.  Step through.  Trying to debug
"printf-style" doesn't help; learning to use a debugger will take some
time, but it will repay your effort many, many times over.

Andrew.



More information about the hotspot-gc-dev mailing list