comparison src/share/vm/gc_implementation/g1/vm_operations_g1.hpp @ 1088:3fc996d4edd2

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
author ysr
date Thu, 19 Nov 2009 13:43:25 -0800
parents bd02caa94611
children c18cbe5936b8
comparison
equal deleted inserted replaced
1087:23b9a8d315fc 1088:3fc996d4edd2
66 HeapWord* result() { return _res; } 66 HeapWord* result() { return _res; }
67 }; 67 };
68 68
69 class VM_G1IncCollectionPause: public VM_GC_Operation { 69 class VM_G1IncCollectionPause: public VM_GC_Operation {
70 public: 70 public:
71 VM_G1IncCollectionPause(int gc_count_before) : 71 VM_G1IncCollectionPause(int gc_count_before,
72 VM_GC_Operation(gc_count_before) {} 72 GCCause::Cause gc_cause = GCCause::_g1_inc_collection_pause) :
73 VM_GC_Operation(gc_count_before) { _gc_cause = gc_cause; }
73 virtual VMOp_Type type() const { return VMOp_G1IncCollectionPause; } 74 virtual VMOp_Type type() const { return VMOp_G1IncCollectionPause; }
74 virtual void doit(); 75 virtual void doit();
75 virtual const char* name() const { 76 virtual const char* name() const {
76 return "garbage-first incremental collection pause"; 77 return "garbage-first incremental collection pause";
77 } 78 }