8161265: [JVMCI] EnableJVMCI should only be required when its not implied by other flags

Reviewed-by: twisti, kvn, never
This commit is contained in:
Doug Simon 2016-07-20 22:18:13 +00:00
parent 48476abaa6
commit 86961b9419
6 changed files with 62 additions and 217 deletions

View file

@ -782,7 +782,7 @@ JVMCIEnv::CodeInstallResult CodeInstaller::initialize_buffer(CodeBuffer& buffer,
}
last_pc_offset = pc_offset;
if (CodeInstallSafepointChecks && SafepointSynchronize::do_call_back()) {
if (SafepointSynchronize::do_call_back()) {
// this is a hacky way to force a safepoint check but nothing else was jumping out at me.
ThreadToNativeFromVM ttnfv(JavaThread::current());
}