<div dir="ltr"><div dir="ltr"><div>Hi all,</div><div><br></div><div>We can see number of GC events via jcmd VM.info and PerfCounter.print. However they hold different values.<br>(See JDK-8214155 on JBS [1] for more details)</div><div><br></div><div>I created a patch and pushed it to submit repo [2], but it was failed as shown in the forwarding email.</div><div><br></div><div>I tried to count-up _total_collections and _total_full_collections on CollectedHeap at c'tor of SvcGCMarker, but it breaks current behavior especially VM_GenCollectFullConcurrent. These counters seems to be used to check GC cycle.</div><div>OTOH I tried to use PerfCounter values for GCHeapLog, but it might not be good because they will hold incorrect values when UsePerfData is set to false.</div><div><br>I believe this issue should be fixed for troubleshooters. Of course, they can use `jhsdb jsnap` to check the counters. But I guess most of them believe contents in hs_err log.</div><div><br></div><div>Do you have any idea for this issue?</div><div><br>Thanks,</div><div>Yasumasa</div><div><br></div><div><br>[1] <a href="https://bugs.openjdk.java.net/browse/JDK-8214155">https://bugs.openjdk.java.net/browse/JDK-8214155</a><br>[2] <a href="https://hg.openjdk.java.net/jdk/submit/rev/0702b43594e6">https://hg.openjdk.java.net/jdk/submit/rev/0702b43594e6</a><br><br></div><div class="gmail_quote"><div dir="ltr">---------- Forwarded message ---------<br>From: <span dir="ltr"><<a href="mailto:do-not-reply@oracle.com">do-not-reply@oracle.com</a>></span><br>Date: 2018年11月21日(水) 13:07<br>Subject: [Mach5] mach5-one-ysuenaga-JDK-8214155-20181121-0302-11180: FAILED, Failed tests: 15<br>To:  <<a href="mailto:yasuenag@gmail.com">yasuenag@gmail.com</a>><br></div><br><br><h4>Build Details: 2018-11-21-0259422.yasuenag.source</h4><h4>15 Failed Tests</h4>
<table border="1"><tbody><tr><th>Test</th><th>Tier</th><th>Platform</th><th>Keywords</th><th>Description</th><th>Task</th></tr>
<tr>
<td>gc/TestSystemGC.java#id1</td>
<td>tier1</td>
<td>macosx-x64-debug</td>
<td>gc othervm</td>
<td>ExitCode: 134</td>
<td>task</td>
</tr>
<tr>
<td>runtime/MemberName/MemberNameLeak.java</td>
<td>tier1</td>
<td>windows-x64-debug</td>
<td>bug8174749 bug8213307 othervm driver</td>
<td>Crash: Internal Error ...vmCMSOperations.cpp...assert((_gc_count_before < heap->total_collections()) || (GCLocker::is_active() && (_gc_count_before == heap->total_collections()))) failed: total_collections() should be monotonically increasing</td>
<td>task</td>
</tr>
<tr>
<td>gc/g1/TestRemsetLogging.java</td>
<td>tier1</td>
<td>windows-x64-debug</td>
<td>bug8013895 bug8129977 bug8145534 driver</td>
<td>Exception: java.lang.Exception: Incorrect amount of per-period RSet summaries at the end. Expected ..., got ...</td>
<td>task</td>
</tr>
<tr>
<td>gc/TestSystemGC.java#id1</td>
<td>tier1</td>
<td>windows-x64-debug</td>
<td>gc othervm</td>
<td>ExitCode: 1</td>
<td>task</td>
</tr>
<tr>
<td>runtime/MemberName/MemberNameLeak.java</td>
<td>tier1</td>
<td>macosx-x64-debug</td>
<td>bug8174749 bug8213307 othervm driver</td>
<td>Crash: Internal Error ...vmCMSOperations.cpp...assert((_gc_count_before < heap->total_collections()) || (GCLocker::is_active() && (_gc_count_before == heap->total_collections()))) failed: total_collections() should be monotonically increasing</td>
<td>task</td>
</tr>
<tr>
<td>gc/cms/TestCMSScavengeBeforeRemark.java</td>
<td>tier1</td>
<td>windows-x64-debug</td>
<td>bug8139868 gc othervm</td>
<td>ExitCode: 1</td>
<td>task</td>
</tr>
<tr>
<td>gc/cms/GuardShrinkWarning.java</td>
<td>tier1</td>
<td>windows-x64-debug</td>
<td>bug8012111 gc regression othervm</td>
<td>Crash: Internal Error ...vmCMSOperations.cpp...assert((_gc_count_before < heap->total_collections()) || (GCLocker::is_active() && (_gc_count_before == heap->total_collections()))) failed: total_collections() should be monotonically increasing</td>
<td>task</td>
</tr>
<tr>
<td>gc/cms/TestCMSScavengeBeforeRemark.java</td>
<td>tier1</td>
<td>macosx-x64-debug</td>
<td>bug8139868 gc othervm</td>
<td>ExitCode: 134</td>
<td>task</td>
</tr>
<tr>
<td>gc/cms/GuardShrinkWarning.java</td>
<td>tier1</td>
<td>macosx-x64-debug</td>
<td>bug8012111 gc regression othervm</td>
<td>Crash: Internal Error ...vmCMSOperations.cpp...assert((_gc_count_before < heap->total_collections()) || (GCLocker::is_active() && (_gc_count_before == heap->total_collections()))) failed: total_collections() should be monotonically increasing</td>
<td>task</td>
</tr>
<tr>
<td>gc/g1/TestRemsetLogging.java</td>
<td>tier1</td>
<td>macosx-x64-debug</td>
<td>bug8013895 bug8129977 bug8145534 driver</td>
<td>Exception: java.lang.Exception: Incorrect amount of per-period RSet summaries at the end. Expected ..., got ...</td>
<td>task</td>
</tr>
<tr>
<td>runtime/MemberName/MemberNameLeak.java</td>
<td>tier1</td>
<td>linux-x64-debug</td>
<td>bug8174749 bug8213307 othervm driver</td>
<td>Crash: Internal Error ...vmCMSOperations.cpp...assert((_gc_count_before < heap->total_collections()) || (GCLocker::is_active() && (_gc_count_before == heap->total_collections()))) failed: total_collections() should be monotonically increasing</td>
<td>task</td>
</tr>
<tr>
<td>gc/TestSystemGC.java#id1</td>
<td>tier1</td>
<td>linux-x64-debug</td>
<td>gc othervm</td>
<td>ExitCode: 134</td>
<td>task</td>
</tr>
<tr>
<td>gc/g1/TestRemsetLogging.java</td>
<td>tier1</td>
<td>linux-x64-debug</td>
<td>bug8013895 bug8129977 bug8145534 driver</td>
<td>Exception: java.lang.Exception: Incorrect amount of per-period RSet summaries at the end. Expected ..., got ...</td>
<td>task</td>
</tr>
<tr>
<td>gc/cms/TestCMSScavengeBeforeRemark.java</td>
<td>tier1</td>
<td>linux-x64-debug</td>
<td>bug8139868 gc othervm</td>
<td>ExitCode: 134</td>
<td>task</td>
</tr>
<tr>
<td>gc/cms/GuardShrinkWarning.java</td>
<td>tier1</td>
<td>linux-x64-debug</td>
<td>bug8012111 gc regression othervm</td>
<td>Crash: Internal Error ...vmCMSOperations.cpp...assert((_gc_count_before < heap->total_collections()) || (GCLocker::is_active() && (_gc_count_before == heap->total_collections()))) failed: total_collections() should be monotonically increasing</td>
<td>task</td>
</tr>
</tbody></table><h4>Mach5 Tasks Results Summary</h4>
<ul>
<li>UNABLE_TO_RUN: 0</li>
<li>FAILED: 0</li>
<li>EXECUTED_WITH_FAILURE: 9</li>
<li>KILLED: 0</li>
<li>PASSED: 67</li>
<li>NA: 0</li><h4>Test</h4><dl>
<dd><h5><span style="color:orange">9 Executed with failure</span></h5></dd>
<dd><ul>
<li>tier1-debug-open_test_hotspot_jtreg_tier1_gc_1-linux-x64-debug-40 Results: total: 79, passed: 78; failed: 1</li>
<li>tier1-debug-open_test_hotspot_jtreg_tier1_gc_1-macosx-x64-debug-41 Results: total: 79, passed: 78; failed: 1</li>
<li>tier1-debug-open_test_hotspot_jtreg_tier1_gc_1-windows-x64-debug-42 Results: total: 79, passed: 78; failed: 1</li>
<li>tier1-debug-open_test_hotspot_jtreg_tier1_gc_2-linux-x64-debug-43 Results: total: 116, passed: 113; failed: 3</li>
<li>tier1-debug-open_test_hotspot_jtreg_tier1_gc_2-macosx-x64-debug-44 Results: total: 115, passed: 112; failed: 3</li>
<li>tier1-debug-open_test_hotspot_jtreg_tier1_gc_2-windows-x64-debug-45 Results: total: 115, passed: 112; failed: 3</li>
<li>tier1-debug-open_test_hotspot_jtreg_tier1_runtime-linux-x64-debug-52 Results: total: 436, passed: 435; failed: 1</li>
<li>tier1-debug-open_test_hotspot_jtreg_tier1_runtime-macosx-x64-debug-53 Results: total: 428, passed: 427; failed: 1</li>
<li>tier1-debug-open_test_hotspot_jtreg_tier1_runtime-windows-x64-debug-54 Results: total: 420, passed: 419; failed: 1</li>
</ul></dd>
</dl></ul>
</div></div></div>