equal
deleted
inserted
replaced
513 // we need this to make sure that the flag is on during the evac |
513 // we need this to make sure that the flag is on during the evac |
514 // pause with initial mark piggy-backed |
514 // pause with initial mark piggy-backed |
515 set_concurrent_marking_in_progress(); |
515 set_concurrent_marking_in_progress(); |
516 } |
516 } |
517 |
517 |
|
518 void G1ConcurrentMark::humongous_object_eagerly_reclaimed(HeapRegion* r) { |
|
519 assert(SafepointSynchronize::is_at_safepoint(), "May only be called at a safepoint."); |
|
520 |
|
521 // Need to clear mark bit of the humongous object if already set and during a marking cycle. |
|
522 if (_next_mark_bitmap->is_marked(r->bottom())) { |
|
523 _next_mark_bitmap->clear(r->bottom()); |
|
524 } |
|
525 } |
518 |
526 |
519 void G1ConcurrentMark::reset_marking_state() { |
527 void G1ConcurrentMark::reset_marking_state() { |
520 _global_mark_stack.set_empty(); |
528 _global_mark_stack.set_empty(); |
521 |
529 |
522 // Expand the marking stack, if we have to and if we can. |
530 // Expand the marking stack, if we have to and if we can. |