src/share/vm/gc_interface/gcCause.hpp

changeset 777
37f87013dfd8
parent 435
a61af66fc99e
child 1112
96b229c54d1e
     1.1 --- a/src/share/vm/gc_interface/gcCause.hpp	Wed Jun 04 13:51:09 2008 -0700
     1.2 +++ b/src/share/vm/gc_interface/gcCause.hpp	Thu Jun 05 15:57:56 2008 -0700
     1.3 @@ -60,6 +60,8 @@
     1.4      _old_generation_too_full_to_scavenge,
     1.5      _adaptive_size_policy,
     1.6  
     1.7 +    _g1_inc_collection_pause, _g1_pop_region_collection_pause,
     1.8 +
     1.9      _last_ditch_collection,
    1.10      _last_gc_cause
    1.11    };
    1.12 @@ -68,12 +70,14 @@
    1.13      return (cause == GCCause::_java_lang_system_gc ||
    1.14              cause == GCCause::_jvmti_force_gc);
    1.15    }
    1.16 +
    1.17    inline static bool is_serviceability_requested_gc(GCCause::Cause
    1.18                                                               cause) {
    1.19      return (cause == GCCause::_jvmti_force_gc ||
    1.20              cause == GCCause::_heap_inspection ||
    1.21              cause == GCCause::_heap_dump);
    1.22    }
    1.23 +
    1.24    // Return a string describing the GCCause.
    1.25    static const char* to_string(GCCause::Cause cause);
    1.26    // Return true if the GCCause is for a full collection.

mercurial