Entry function of GC Collection
jon.masamitsu at oracle.com
Mon Jul 27 18:28:46 UTC 2015
You're perhaps looking for the collect() methods.
On 07/25/2015 01:30 PM, Abhinav Jangda wrote:
> Hello all,
> I have been working on a project which requires me to change GC
> Algorithm in Java Hotspot VM. I have been trying to understand the
> source code of GC in Hotspot VM. I know a couple of details about GC
> in Hotspot now. But I am not able to find the start function of GC
> Collection. I think /VM_GenCollectFull::doit/ and
> /VM_GenCollectForAllocation::doit() /are the two functions called for
> GC. But if I add /std::cout/ statements at the start of these
> functions and start the Dacapo Benchmarks I couldn't see any result
> produced by /std::cout/ statements. I want to work with SerialGC.
> Here is the command I used to run Hotspot:
> ./java -XX:+UseSerialGC -jar dacapo.jar jython
> OpenJDK version is 8 and I am compiling building openjdk using
> following command
> make CONF=linux-x86_64-normal-server-release
> It will be great if anyone of you could help me.
> Thank You,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-gc-dev