<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi,<div><br></div><div>We have this from g1CollectedHeap.cpp</div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="color: #bb2ca2">bool</span> G1CollectedHeap::should_do_concurrent_full_gc(GCCause::Cause cause) {</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  <span style="color: #bb2ca2">switch</span> (cause) {</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    <span style="color: #bb2ca2">case</span> GCCause::_gc_locker:               <span style="color: #bb2ca2">return</span> GCLockerInvokesConcurrent;</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    <span style="color: #bb2ca2">case</span> GCCause::_java_lang_system_gc:     <span style="color: #bb2ca2">return</span> ExplicitGCInvokesConcurrent;</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    <span style="color: #bb2ca2">case</span> GCCause::_g1_humongous_allocation: <span style="color: #bb2ca2">return</span> <span style="color: #bb2ca2">true</span>;</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    <span style="color: #bb2ca2">default</span>:                                <span style="color: #bb2ca2">return</span> <span style="color: #bb2ca2">false</span>;</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  }</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">}</div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="font-family: Helvetica; font-size: 12px;">and this from globals.hpp</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="font-family: Helvetica; font-size: 12px;"><br></span></div><div style="margin: 0px;"><div style="margin: 0px;"><div style="color: rgb(120, 73, 42); font-family: Menlo; font-size: 11px; margin: 0px;">  product(bool, ExplicitGCInvokesConcurrent, false,                         \</div><div style="color: rgb(209, 47, 27); font-family: Menlo; font-size: 11px; margin: 0px;"><span style="color: #78492a">          </span>"A System.gc() request invokes a concurrent collection; "<span style="color: #78492a">         \</span></div><div style="color: rgb(209, 47, 27); font-family: Menlo; font-size: 11px; margin: 0px;"><span style="color: #78492a">          </span>"(effective only when UseConcMarkSweepGC)”<span style="color: #78492a">)  </span></div><div style="color: rgb(209, 47, 27); font-family: Menlo; font-size: 11px; margin: 0px;"><span style="color: #78492a"><br></span></div><div style="margin: 0px;">Looks like the comment isn’t in sync with the code?</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">Kind Regards,</div><div style="margin: 0px;">Kirk Pepperdine</div></div></div></body></html>