src/hotspot/share/gc/shenandoah/shenandoahRootVerifier.cpp
changeset 59296 9186be5c78ba
parent 55476 aee0d296c0ef
--- a/src/hotspot/share/gc/shenandoah/shenandoahRootVerifier.cpp	Wed Nov 27 06:36:41 2019 -0800
+++ b/src/hotspot/share/gc/shenandoah/shenandoahRootVerifier.cpp	Wed Nov 27 11:52:57 2019 -0500
@@ -43,7 +43,7 @@
 // Check for overflow of number of root types.
 STATIC_ASSERT((static_cast<uint>(ShenandoahRootVerifier::AllRoots) + 1) > static_cast<uint>(ShenandoahRootVerifier::AllRoots));
 
-ShenandoahRootVerifier::ShenandoahRootVerifier() : _types(AllRoots) {
+ShenandoahRootVerifier::ShenandoahRootVerifier(RootTypes types) : _types(types) {
 }
 
 void ShenandoahRootVerifier::excludes(RootTypes types) {