equal
deleted
inserted
replaced
1324 _aux_bit_map.clear(); |
1324 _aux_bit_map.clear(); |
1325 |
1325 |
1326 Stack<oop,mtGC> oop_stack; |
1326 Stack<oop,mtGC> oop_stack; |
1327 |
1327 |
1328 // First, we process all GC roots. This populates the work stack with initial objects. |
1328 // First, we process all GC roots. This populates the work stack with initial objects. |
1329 ShenandoahRootScanner rp(1, ShenandoahPhaseTimings::_num_phases); |
1329 ShenandoahAllRootScanner rp(1, ShenandoahPhaseTimings::_num_phases); |
1330 ObjectIterateScanRootClosure oops(&_aux_bit_map, &oop_stack); |
1330 ObjectIterateScanRootClosure oops(&_aux_bit_map, &oop_stack); |
1331 rp.roots_do(0, &oops); |
1331 rp.roots_do(0, &oops); |
1332 |
1332 |
1333 // Work through the oop stack to traverse heap. |
1333 // Work through the oop stack to traverse heap. |
1334 while (! oop_stack.is_empty()) { |
1334 while (! oop_stack.is_empty()) { |