Lines Matching refs:GCCause
37 class GCCause : public AllStatic {
76 inline static bool is_user_requested_gc(GCCause::Cause cause) {
77 return (cause == GCCause::_java_lang_system_gc ||
78 cause == GCCause::_jvmti_force_gc);
81 inline static bool is_serviceability_requested_gc(GCCause::Cause
83 return (cause == GCCause::_jvmti_force_gc ||
84 cause == GCCause::_heap_inspection ||
85 cause == GCCause::_heap_dump);
88 // Return a string describing the GCCause.
89 static const char* to_string(GCCause::Cause cause);
101 GCCauseString(const char* prefix, GCCause::Cause cause) {
103 _position = jio_snprintf(_buffer, _length, "%s (%s)", prefix, GCCause::to_string(cause));