<div dir="ltr">BUG: <a href="https://bugs.openjdk.java.net/browse/JDK-8141356">https://bugs.openjdk.java.net/browse/JDK-8141356</a><div>Webrev: <a href="http://cr.openjdk.java.net/~jwha/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 href="mailto:jwha@google.com">jwha@google.com</a></span><br></div><div><br></div></div></div>
</div></div>