equal
deleted
inserted
replaced
190 size_t old_gen_prev_used = old_gen->used_in_bytes(); |
190 size_t old_gen_prev_used = old_gen->used_in_bytes(); |
191 size_t young_gen_prev_used = young_gen->used_in_bytes(); |
191 size_t young_gen_prev_used = young_gen->used_in_bytes(); |
192 |
192 |
193 allocate_stacks(); |
193 allocate_stacks(); |
194 |
194 |
195 #if defined(COMPILER2) || INCLUDE_JVMCI |
195 #if COMPILER2_OR_JVMCI |
196 DerivedPointerTable::clear(); |
196 DerivedPointerTable::clear(); |
197 #endif |
197 #endif |
198 |
198 |
199 ref_processor()->enable_discovery(); |
199 ref_processor()->enable_discovery(); |
200 ref_processor()->setup_policy(clear_all_softrefs); |
200 ref_processor()->setup_policy(clear_all_softrefs); |
201 |
201 |
202 mark_sweep_phase1(clear_all_softrefs); |
202 mark_sweep_phase1(clear_all_softrefs); |
203 |
203 |
204 mark_sweep_phase2(); |
204 mark_sweep_phase2(); |
205 |
205 |
206 #if defined(COMPILER2) || INCLUDE_JVMCI |
206 #if COMPILER2_OR_JVMCI |
207 // Don't add any more derived pointers during phase3 |
207 // Don't add any more derived pointers during phase3 |
208 assert(DerivedPointerTable::is_active(), "Sanity"); |
208 assert(DerivedPointerTable::is_active(), "Sanity"); |
209 DerivedPointerTable::set_active(false); |
209 DerivedPointerTable::set_active(false); |
210 #endif |
210 #endif |
211 |
211 |
250 |
250 |
251 BiasedLocking::restore_marks(); |
251 BiasedLocking::restore_marks(); |
252 CodeCache::gc_epilogue(); |
252 CodeCache::gc_epilogue(); |
253 JvmtiExport::gc_epilogue(); |
253 JvmtiExport::gc_epilogue(); |
254 |
254 |
255 #if defined(COMPILER2) || INCLUDE_JVMCI |
255 #if COMPILER2_OR_JVMCI |
256 DerivedPointerTable::update_pointers(); |
256 DerivedPointerTable::update_pointers(); |
257 #endif |
257 #endif |
258 |
258 |
259 ReferenceProcessorPhaseTimes pt(_gc_timer, ref_processor()->num_q()); |
259 ReferenceProcessorPhaseTimes pt(_gc_timer, ref_processor()->num_q()); |
260 |
260 |