2529 GC_locker::stall_until_clear(); |
2529 GC_locker::stall_until_clear(); |
2530 } |
2530 } |
2531 } |
2531 } |
2532 } |
2532 } |
2533 } else { |
2533 } else { |
2534 if (cause == GCCause::_gc_locker |
2534 if (cause == GCCause::_gc_locker || cause == GCCause::_wb_young_gc |
2535 DEBUG_ONLY(|| cause == GCCause::_scavenge_alot)) { |
2535 DEBUG_ONLY(|| cause == GCCause::_scavenge_alot)) { |
2536 |
2536 |
2537 // Schedule a standard evacuation pause. We're setting word_size |
2537 // Schedule a standard evacuation pause. We're setting word_size |
2538 // to 0 which means that we are not requesting a post-GC allocation. |
2538 // to 0 which means that we are not requesting a post-GC allocation. |
2539 VM_G1IncCollectionPause op(gc_count_before, |
2539 VM_G1IncCollectionPause op(gc_count_before, |