Entry function of GC Collection
Abhinav Jangda
abhijangda at hotmail.com
Sat Jul 25 20:30:37 UTC 2015
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,
Abhinav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20150726/1207c0cf/attachment.htm>
More information about the hotspot-gc-dev
mailing list