Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/parNew/parNewGeneration.cpp @ 457:27a80744a83b
6778647: snap(), snap_policy() should be renamed setup(), setup_policy()
Summary: Renamed Reference{Policy,Pocessor} methods from snap{,_policy}() to setup{,_policy}()
Reviewed-by: apetrusenko
author | ysr |
---|---|
date | Mon, 01 Dec 2008 23:25:24 -0800 |
parents | df4305d4c1a1 |
children | 7d7a7c599c17 |
comparison
equal
deleted
inserted
replaced
455:434912c745cf | 457:27a80744a83b |
---|---|
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 { |