comparison src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.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 c96030fff130
children 7d7a7c599c17
comparison
equal deleted inserted replaced
455:434912c745cf 457:27a80744a83b
170 170
171 NOT_PRODUCT(ref_processor()->verify_no_references_recorded()); 171 NOT_PRODUCT(ref_processor()->verify_no_references_recorded());
172 COMPILER2_PRESENT(DerivedPointerTable::clear()); 172 COMPILER2_PRESENT(DerivedPointerTable::clear());
173 173
174 ref_processor()->enable_discovery(); 174 ref_processor()->enable_discovery();
175 ref_processor()->snap_policy(clear_all_softrefs); 175 ref_processor()->setup_policy(clear_all_softrefs);
176 176
177 mark_sweep_phase1(clear_all_softrefs); 177 mark_sweep_phase1(clear_all_softrefs);
178 178
179 mark_sweep_phase2(); 179 mark_sweep_phase2();
180 180
516 // Flush marking stack. 516 // Flush marking stack.
517 follow_stack(); 517 follow_stack();
518 518
519 // Process reference objects found during marking 519 // Process reference objects found during marking
520 { 520 {
521 ref_processor()->snap_policy(clear_all_softrefs); 521 ref_processor()->setup_policy(clear_all_softrefs);
522 ref_processor()->process_discovered_references( 522 ref_processor()->process_discovered_references(
523 is_alive_closure(), mark_and_push_closure(), follow_stack_closure(), NULL); 523 is_alive_closure(), mark_and_push_closure(), follow_stack_closure(), NULL);
524 } 524 }
525 525
526 // Follow system dictionary roots and unload classes 526 // Follow system dictionary roots and unload classes