diff options
author | ysr <none@none> | 2009-11-19 13:43:25 -0800 |
---|---|---|
committer | ysr <none@none> | 2009-11-19 13:43:25 -0800 |
commit | 4f45dabe073a4c4af78b1ba97e9627c083d0e38f (patch) | |
tree | 7b2c92bcef254c0965c9497784777c3aa4a46ece /src/share/vm/gc_implementation/g1/vm_operations_g1.hpp | |
parent | a61789b007aba813a0e1dd93e887f1f534dcc70d (diff) | |
download | jdk8u_hotspot-4f45dabe073a4c4af78b1ba97e9627c083d0e38f.tar.gz |
6902303: G1: ScavengeALot should cause an incremental, rather than a full, collection
Summary: ScavengeALot now causes an incremental (but possibly partially young, in the G1 sense) collection. Some such collections may be abandoned on account of MMU specs. Band-aided a native leak associated with abandoned pauses, as well as an MMU tracker overflow related to frequent scavenge events in the face of a large MMU denominator interval; the latter is protected by a product flag that defaults to false.
Reviewed-by: tonyp
Diffstat (limited to 'src/share/vm/gc_implementation/g1/vm_operations_g1.hpp')
-rw-r--r-- | src/share/vm/gc_implementation/g1/vm_operations_g1.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp b/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp index 6cf0605ec..95dda3844 100644 --- a/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp +++ b/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp @@ -68,8 +68,9 @@ class VM_G1CollectForAllocation: public VM_GC_Operation { class VM_G1IncCollectionPause: public VM_GC_Operation { public: - VM_G1IncCollectionPause(int gc_count_before) : - VM_GC_Operation(gc_count_before) {} + VM_G1IncCollectionPause(int gc_count_before, + GCCause::Cause gc_cause = GCCause::_g1_inc_collection_pause) : + VM_GC_Operation(gc_count_before) { _gc_cause = gc_cause; } virtual VMOp_Type type() const { return VMOp_G1IncCollectionPause; } virtual void doit(); virtual const char* name() const { |