< prev index next >
src/hotspot/share/gc/shenandoah/shenandoahRootVerifier.cpp
Print this page
rev 55339 : 8225582: Shenandoah: Enable concurrent evacuation of JNIHandles and CLDG roots
@@ -52,10 +52,14 @@
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 >