hotspot/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp
changeset 1610 5dddd195cc86
parent 1607 be7d05bc07b2
child 1668 8ec481b8f514
equal deleted inserted replaced
1608:0a375b5fb8e1 1610:5dddd195cc86
   771   ScanClosure               scan_without_gc_barrier(this, false);
   771   ScanClosure               scan_without_gc_barrier(this, false);
   772   ScanClosureWithParBarrier scan_with_gc_barrier(this, true);
   772   ScanClosureWithParBarrier scan_with_gc_barrier(this, true);
   773   set_promo_failure_scan_stack_closure(&scan_without_gc_barrier);
   773   set_promo_failure_scan_stack_closure(&scan_without_gc_barrier);
   774   EvacuateFollowersClosureGeneral evacuate_followers(gch, _level,
   774   EvacuateFollowersClosureGeneral evacuate_followers(gch, _level,
   775     &scan_without_gc_barrier, &scan_with_gc_barrier);
   775     &scan_without_gc_barrier, &scan_with_gc_barrier);
   776   rp->snap_policy(clear_all_soft_refs);
   776   rp->setup_policy(clear_all_soft_refs);
   777   if (rp->processing_is_mt()) {
   777   if (rp->processing_is_mt()) {
   778     ParNewRefProcTaskExecutor task_executor(*this, thread_state_set);
   778     ParNewRefProcTaskExecutor task_executor(*this, thread_state_set);
   779     rp->process_discovered_references(&is_alive, &keep_alive,
   779     rp->process_discovered_references(&is_alive, &keep_alive,
   780                                       &evacuate_followers, &task_executor);
   780                                       &evacuate_followers, &task_executor);
   781   } else {
   781   } else {