60 _allocation_failure,
61
62 /* implementation specific */
63
64 _codecache_GC_threshold,
65 _codecache_GC_aggressive,
66 _metadata_GC_threshold,
67 _metadata_GC_clear_soft_refs,
68
69 _adaptive_size_policy,
70
71 _g1_inc_collection_pause,
72 _g1_compaction_pause,
73 _g1_humongous_allocation,
74 _g1_periodic_collection,
75
76 _dcmd_gc_run,
77
78 _shenandoah_stop_vm,
79 _shenandoah_allocation_failure_evac,
80 _shenandoah_concurrent_gc,
81 _shenandoah_upgrade_to_full_gc,
82
83 _z_timer,
84 _z_warmup,
85 _z_allocation_rate,
86 _z_allocation_stall,
87 _z_proactive,
88 _z_high_usage,
89
90 _last_gc_cause
91 };
92
93 inline static bool is_user_requested_gc(GCCause::Cause cause) {
94 return (cause == GCCause::_java_lang_system_gc ||
95 cause == GCCause::_dcmd_gc_run);
96 }
97
98 inline static bool is_explicit_full_gc(GCCause::Cause cause) {
99 return (is_user_requested_gc(cause) ||
|
60 _allocation_failure,
61
62 /* implementation specific */
63
64 _codecache_GC_threshold,
65 _codecache_GC_aggressive,
66 _metadata_GC_threshold,
67 _metadata_GC_clear_soft_refs,
68
69 _adaptive_size_policy,
70
71 _g1_inc_collection_pause,
72 _g1_compaction_pause,
73 _g1_humongous_allocation,
74 _g1_periodic_collection,
75
76 _dcmd_gc_run,
77
78 _shenandoah_stop_vm,
79 _shenandoah_allocation_failure_evac,
80 _shenandoah_humongous_allocation_failure,
81 _shenandoah_concurrent_gc,
82 _shenandoah_upgrade_to_full_gc,
83
84 _z_timer,
85 _z_warmup,
86 _z_allocation_rate,
87 _z_allocation_stall,
88 _z_proactive,
89 _z_high_usage,
90
91 _last_gc_cause
92 };
93
94 inline static bool is_user_requested_gc(GCCause::Cause cause) {
95 return (cause == GCCause::_java_lang_system_gc ||
96 cause == GCCause::_dcmd_gc_run);
97 }
98
99 inline static bool is_explicit_full_gc(GCCause::Cause cause) {
100 return (is_user_requested_gc(cause) ||
|