<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Times New Roman, Times, serif">Jungwoo,<br>
<br>
Did you first see this bug in jdk8? I'm wondering if it<br>
was always broken.<br>
<br>
Jon<br>
</font><br>
<div class="moz-cite-prefix">On 11/03/2015 01:14 PM, Jungwoo Ha
wrote:<br>
</div>
<blockquote
cite="mid:CA+n_jhjnjz2ZhfcLLtR3m6k2O1tELF1bNDGkM4kbbWw4cmyw8A@mail.gmail.com"
type="cite">
<div dir="ltr">BUG: <a moz-do-not-send="true"
href="https://bugs.openjdk.java.net/browse/JDK-8141356">https://bugs.openjdk.java.net/browse/JDK-8141356</a>
<div>Webrev: <a moz-do-not-send="true"
href="http://cr.openjdk.java.net/%7Ejwha/8141356/webrev.00/">http://cr.openjdk.java.net/~jwha/8141356/webrev.00/</a></div>
<div><br>
</div>
<div>
<div>Inside before_exit(), it says </div>
<div><br>
</div>
<div><font face="monospace, monospace"> // Stop concurrent GC
threads </font></div>
<div><font face="monospace, monospace">
Universe::heap()->stop(); </font></div>
<div><br>
</div>
<div>but GenCollectedHeap never implemented stop() method, and
thus calling empty SharedHeap::stop() method. </div>
<div>This causes CMS threads to run during the VM termination
and ends up crashing. <br>
</div>
<div><span style="color:rgb(0,0,0);white-space:pre-wrap">ConcurrentMarkSweepThread::stop() is currently a dead code and never gets called.</span><br>
</div>
<div><span style="color:rgb(0,0,0);white-space:pre-wrap">The patch just implemented GenCollectedHeap::stop() to call </span><span style="color:rgb(0,0,0);white-space:pre-wrap">ConcurrentMarkSweepThread::stop().</span></div>
<div><br>
</div>
<div>Can someone sponsor this patch?</div>
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div><span style="font-size:12.8px">Jungwoo Ha | Google |
<a moz-do-not-send="true"
href="mailto:jwha@google.com">jwha@google.com</a></span><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>