equal
deleted
inserted
replaced
196 size_t old_gen_prev_used = old_gen->used_in_bytes(); |
196 size_t old_gen_prev_used = old_gen->used_in_bytes(); |
197 size_t young_gen_prev_used = young_gen->used_in_bytes(); |
197 size_t young_gen_prev_used = young_gen->used_in_bytes(); |
198 |
198 |
199 allocate_stacks(); |
199 allocate_stacks(); |
200 |
200 |
201 NOT_PRODUCT(ref_processor()->verify_no_references_recorded()); |
|
202 COMPILER2_PRESENT(DerivedPointerTable::clear()); |
201 COMPILER2_PRESENT(DerivedPointerTable::clear()); |
203 |
202 |
204 ref_processor()->enable_discovery(); |
203 ref_processor()->enable_discovery(true /*verify_disabled*/, true /*verify_no_refs*/); |
205 ref_processor()->setup_policy(clear_all_softrefs); |
204 ref_processor()->setup_policy(clear_all_softrefs); |
206 |
205 |
207 mark_sweep_phase1(clear_all_softrefs); |
206 mark_sweep_phase1(clear_all_softrefs); |
208 |
207 |
209 mark_sweep_phase2(); |
208 mark_sweep_phase2(); |