--- a/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp Thu May 16 12:14:37 2019 +0530
+++ b/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp Mon May 20 09:42:37 2019 -0400
@@ -1326,7 +1326,7 @@
Stack<oop,mtGC> oop_stack;
// First, we process all GC roots. This populates the work stack with initial objects.
- ShenandoahRootScanner rp(1, ShenandoahPhaseTimings::_num_phases);
+ ShenandoahAllRootScanner rp(1, ShenandoahPhaseTimings::_num_phases);
ObjectIterateScanRootClosure oops(&_aux_bit_map, &oop_stack);
rp.roots_do(0, &oops);