< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahRootVerifier.cpp

Print this page

        

*** 41,51 **** #include "utilities/debug.hpp" // 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) { } void ShenandoahRootVerifier::excludes(RootTypes types) { _types = static_cast<ShenandoahRootVerifier::RootTypes>(static_cast<uint>(_types) & (~static_cast<uint>(types))); } --- 41,51 ---- #include "utilities/debug.hpp" // Check for overflow of number of root types. STATIC_ASSERT((static_cast<uint>(ShenandoahRootVerifier::AllRoots) + 1) > static_cast<uint>(ShenandoahRootVerifier::AllRoots)); ! ShenandoahRootVerifier::ShenandoahRootVerifier(RootTypes types) : _types(types) { } void ShenandoahRootVerifier::excludes(RootTypes types) { _types = static_cast<ShenandoahRootVerifier::RootTypes>(static_cast<uint>(_types) & (~static_cast<uint>(types))); }
< prev index next >