<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
You're perhaps looking for the collect() methods.<br>
<br>
For example,<br>
<br>
void TenuredGeneration::collect()<br>
<br>
and<br>
<br>
void DefNewGeneration::collect()<br>
<br>
Jon<br>
<br>
<div class="moz-cite-prefix">On 07/25/2015 01:30 PM, Abhinav Jangda
wrote:<br>
</div>
<blockquote cite="mid:BLU184-W47FBB70FEF6277610243ACA800@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<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>
</blockquote>
<br>
</body>
</html>