src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp
changeset 54940 2d90a0988c95
parent 54928 fe4c2de90b59
child 54956 43340a79840d
equal deleted inserted replaced
54939:bafd6c944db4 54940:2d90a0988c95
  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()) {