src/hotspot/share/gc/shared/gcVMOperations.hpp
changeset 57607 8d3886985964
parent 53244 9807daeb47c4
child 58063 bdf136b8ae0e
--- 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; }