equal
deleted
inserted
replaced
565 // "evacuate followers". |
565 // "evacuate followers". |
566 evacuate_followers.do_void(); |
566 evacuate_followers.do_void(); |
567 |
567 |
568 FastKeepAliveClosure keep_alive(this, &scan_weak_ref); |
568 FastKeepAliveClosure keep_alive(this, &scan_weak_ref); |
569 ReferenceProcessor* rp = ref_processor(); |
569 ReferenceProcessor* rp = ref_processor(); |
570 rp->snap_policy(clear_all_soft_refs); |
570 rp->setup_policy(clear_all_soft_refs); |
571 rp->process_discovered_references(&is_alive, &keep_alive, &evacuate_followers, |
571 rp->process_discovered_references(&is_alive, &keep_alive, &evacuate_followers, |
572 NULL); |
572 NULL); |
573 if (!promotion_failed()) { |
573 if (!promotion_failed()) { |
574 // Swap the survivor spaces. |
574 // Swap the survivor spaces. |
575 eden()->clear(SpaceDecorator::Mangle); |
575 eden()->clear(SpaceDecorator::Mangle); |