equal
deleted
inserted
replaced
78 _g1_humongous_allocation, |
78 _g1_humongous_allocation, |
79 _g1_periodic_collection, |
79 _g1_periodic_collection, |
80 |
80 |
81 _dcmd_gc_run, |
81 _dcmd_gc_run, |
82 |
82 |
|
83 _shenandoah_stop_vm, |
|
84 _shenandoah_allocation_failure_evac, |
|
85 _shenandoah_concurrent_gc, |
|
86 _shenandoah_traversal_gc, |
|
87 _shenandoah_upgrade_to_full_gc, |
|
88 |
83 _z_timer, |
89 _z_timer, |
84 _z_warmup, |
90 _z_warmup, |
85 _z_allocation_rate, |
91 _z_allocation_rate, |
86 _z_allocation_stall, |
92 _z_allocation_stall, |
87 _z_proactive, |
93 _z_proactive, |
121 // Causes for collection of the young generation |
127 // Causes for collection of the young generation |
122 inline static bool is_allocation_failure_gc(GCCause::Cause cause) { |
128 inline static bool is_allocation_failure_gc(GCCause::Cause cause) { |
123 // _allocation_failure is the generic cause a collection for allocation failure |
129 // _allocation_failure is the generic cause a collection for allocation failure |
124 // _adaptive_size_policy is for a collecton done before a full GC |
130 // _adaptive_size_policy is for a collecton done before a full GC |
125 return (cause == GCCause::_allocation_failure || |
131 return (cause == GCCause::_allocation_failure || |
126 cause == GCCause::_adaptive_size_policy); |
132 cause == GCCause::_adaptive_size_policy || |
|
133 cause == GCCause::_shenandoah_allocation_failure_evac); |
127 } |
134 } |
128 |
135 |
129 // Return a string describing the GCCause. |
136 // Return a string describing the GCCause. |
130 static const char* to_string(GCCause::Cause cause); |
137 static const char* to_string(GCCause::Cause cause); |
131 }; |
138 }; |