--- old/src/hotspot/share/gc/shenandoah/shenandoahRootVerifier.cpp 2019-06-11 20:26:24.780699330 -0400 +++ new/src/hotspot/share/gc/shenandoah/shenandoahRootVerifier.cpp 2019-06-11 20:26:24.280698442 -0400 @@ -54,6 +54,10 @@ return (_types & type) != 0; } +ShenandoahRootVerifier::RootTypes ShenandoahRootVerifier::combine(RootTypes t1, RootTypes t2) { + return static_cast(static_cast(t1) | static_cast(t2)); +} + void ShenandoahRootVerifier::oops_do(OopClosure* oops) { CodeBlobToOopClosure blobs(oops, !CodeBlobToOopClosure::FixRelocations); if (verify(CodeRoots)) {