< prev index next >
src/hotspot/share/jvmci/jvmciCodeInstaller.cpp
Print this page
rev 52432 : imported patch 8211403
@@ -916,11 +916,11 @@
JVMCI_ERROR_OK("unexpected site subclass: %s", site->klass()->signature_name());
}
last_pc_offset = pc_offset;
JavaThread* thread = JavaThread::current();
- if (SafepointMechanism::poll(thread)) {
+ if (SafepointMechanism::should_block(thread)) {
// this is a hacky way to force a safepoint check but nothing else was jumping out at me.
ThreadToNativeFromVM ttnfv(thread);
}
}
< prev index next >