src/share/vm/gc_implementation/g1/vm_operations_g1.hpp

changeset 1523
3fc996d4edd2
parent 1279
bd02caa94611
child 1907
c18cbe5936b8
     1.1 --- a/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp	Thu Nov 19 10:19:19 2009 -0800
     1.2 +++ b/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp	Thu Nov 19 13:43:25 2009 -0800
     1.3 @@ -68,8 +68,9 @@
     1.4  
     1.5  class VM_G1IncCollectionPause: public VM_GC_Operation {
     1.6   public:
     1.7 -  VM_G1IncCollectionPause(int gc_count_before) :
     1.8 -    VM_GC_Operation(gc_count_before) {}
     1.9 +  VM_G1IncCollectionPause(int gc_count_before,
    1.10 +                          GCCause::Cause gc_cause = GCCause::_g1_inc_collection_pause) :
    1.11 +    VM_GC_Operation(gc_count_before) { _gc_cause = gc_cause; }
    1.12    virtual VMOp_Type type() const { return VMOp_G1IncCollectionPause; }
    1.13    virtual void doit();
    1.14    virtual const char* name() const {

mercurial