<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello all,<br><br>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 <i>VM_GenCollectFull::doit</i> and <i>VM_GenCollectForAllocation::doit() </i>are the two functions called for GC. But if I add <i>std::cout</i> statements at the start of these functions and start the Dacapo Benchmarks I couldn't see any result produced by <i>std::cout</i> statements. I want to work with SerialGC.<br>Here is the command I used to run Hotspot:<br><br>./java -XX:+UseSerialGC -jar dacapo.jar jython<br><br>OpenJDK version is 8 and I am compiling building openjdk using following command<br><br>make CONF=linux-x86_64-normal-server-release<br><br>It will be great if anyone of you could help me.<br><br>Thank You,<br>Abhinav<br>                                        </div></body>
</html>