Mercurial > hg > truffle
diff src/share/vm/gc_implementation/g1/vm_operations_g1.hpp @ 20571:1d6eb209432a
8058568: GC cleanup phase can cause G1 skipping a System.gc()
Summary: Marking G1 FullGC as a _full collection and passing down the correct before count.
Reviewed-by: brutisso, mgerdin
author | sjohanss |
---|---|
date | Mon, 20 Oct 2014 10:18:17 +0200 |
parents | 227a9e5e4b4a |
children |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp Fri Oct 24 03:03:59 2014 +0000 +++ b/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp Mon Oct 20 10:18:17 2014 +0200 @@ -60,7 +60,7 @@ VM_G1CollectFull(unsigned int gc_count_before, unsigned int full_gc_count_before, GCCause::Cause cause) - : VM_GC_Operation(gc_count_before, cause, full_gc_count_before) { } + : VM_GC_Operation(gc_count_before, cause, full_gc_count_before, true) { } virtual VMOp_Type type() const { return VMOp_G1CollectFull; } virtual void doit(); virtual const char* name() const {