Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
20570:1bd99e1dc168 | 20571:1d6eb209432a |
---|---|
58 class VM_G1CollectFull: public VM_GC_Operation { | 58 class VM_G1CollectFull: public VM_GC_Operation { |
59 public: | 59 public: |
60 VM_G1CollectFull(unsigned int gc_count_before, | 60 VM_G1CollectFull(unsigned int gc_count_before, |
61 unsigned int full_gc_count_before, | 61 unsigned int full_gc_count_before, |
62 GCCause::Cause cause) | 62 GCCause::Cause cause) |
63 : VM_GC_Operation(gc_count_before, cause, full_gc_count_before) { } | 63 : VM_GC_Operation(gc_count_before, cause, full_gc_count_before, true) { } |
64 virtual VMOp_Type type() const { return VMOp_G1CollectFull; } | 64 virtual VMOp_Type type() const { return VMOp_G1CollectFull; } |
65 virtual void doit(); | 65 virtual void doit(); |
66 virtual const char* name() const { | 66 virtual const char* name() const { |
67 return "full garbage-first collection"; | 67 return "full garbage-first collection"; |
68 } | 68 } |