mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8211403: Rename SafepointMechanism::poll(...)
Reviewed-by: mdoerr, dcubed, dholmes
This commit is contained in:
parent
b2541f90e6
commit
e35e0ab165
8 changed files with 13 additions and 13 deletions
|
@ -918,7 +918,7 @@ JVMCIEnv::CodeInstallResult CodeInstaller::initialize_buffer(CodeBuffer& buffer,
|
|||
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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue