equal
deleted
inserted
replaced
248 case GCCause::_z_warmup: |
248 case GCCause::_z_warmup: |
249 case GCCause::_z_allocation_rate: |
249 case GCCause::_z_allocation_rate: |
250 case GCCause::_z_allocation_stall: |
250 case GCCause::_z_allocation_stall: |
251 case GCCause::_z_proactive: |
251 case GCCause::_z_proactive: |
252 case GCCause::_z_high_usage: |
252 case GCCause::_z_high_usage: |
253 case GCCause::_metadata_GC_threshold: |
|
254 // Start asynchronous GC |
253 // Start asynchronous GC |
255 _gc_cycle_port.send_async(cause); |
254 _gc_cycle_port.send_async(cause); |
|
255 break; |
|
256 |
|
257 case GCCause::_metadata_GC_threshold: |
|
258 // Start asynchronous GC, but only if the GC is warm |
|
259 if (ZStatCycle::is_warm()) { |
|
260 _gc_cycle_port.send_async(cause); |
|
261 } |
256 break; |
262 break; |
257 |
263 |
258 case GCCause::_gc_locker: |
264 case GCCause::_gc_locker: |
259 // Restart VM operation previously blocked by the GC locker |
265 // Restart VM operation previously blocked by the GC locker |
260 _gc_locker_port.signal(); |
266 _gc_locker_port.signal(); |