changeset 57607 | 8d3886985964 |
parent 54786 | ebf733a324d4 |
child 57662 | f81dbe27a7b1 |
--- a/src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp Wed Jul 31 13:40:59 2019 -0400 +++ b/src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp Wed Jul 31 14:28:51 2019 -0400 @@ -520,6 +520,10 @@ full_gc_count = total_full_collections(); } + if (GCLocker::should_discard(cause, gc_count)) { + return; + } + VM_ParallelGCSystemGC op(gc_count, full_gc_count, cause); VMThread::execute(&op); }