--- a/src/hotspot/share/gc/shared/gcVMOperations.hpp Wed Jul 31 13:40:59 2019 -0400
+++ b/src/hotspot/share/gc/shared/gcVMOperations.hpp Wed Jul 31 14:28:51 2019 -0400
@@ -194,7 +194,8 @@
uint full_gc_count_before,
GCCause::Cause gc_cause,
GenCollectedHeap::GenerationType max_generation)
- : VM_GC_Operation(gc_count_before, gc_cause, full_gc_count_before, true /* full */),
+ : VM_GC_Operation(gc_count_before, gc_cause, full_gc_count_before,
+ max_generation != GenCollectedHeap::YoungGen /* full */),
_max_generation(max_generation) { }
~VM_GenCollectFull() {}
virtual VMOp_Type type() const { return VMOp_GenCollectFull; }