< prev index next >

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

Print this page
rev 55429 : 8226311: Shenandoah: Concurrent evacuation of OopStorage backed weak roots

*** 52,61 **** --- 52,65 ---- bool ShenandoahRootVerifier::verify(RootTypes type) const { return (_types & type) != 0; } + ShenandoahRootVerifier::RootTypes ShenandoahRootVerifier::combine(RootTypes t1, RootTypes t2) { + return static_cast<ShenandoahRootVerifier::RootTypes>(static_cast<uint>(t1) | static_cast<uint>(t2)); + } + void ShenandoahRootVerifier::oops_do(OopClosure* oops) { CodeBlobToOopClosure blobs(oops, !CodeBlobToOopClosure::FixRelocations); if (verify(CodeRoots)) { shenandoah_assert_locked_or_safepoint(CodeCache_lock); CodeCache::blobs_do(&blobs);
< prev index next >