Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8008243: Zero: Implement fast bytecodes #1938

Closed
@@ -186,9 +186,17 @@ void ZeroInterpreter::main_loop(int recurse, TRAPS) {

// Call the interpreter
if (JvmtiExport::can_post_interpreter_events()) {
BytecodeInterpreter::run<true>(istate);
if (RewriteBytecodes) {
BytecodeInterpreter::run<true, true>(istate);
} else {
BytecodeInterpreter::run<true, false>(istate);
}
} else {
BytecodeInterpreter::run<false>(istate);
if (RewriteBytecodes) {
BytecodeInterpreter::run<false, true>(istate);
} else {
BytecodeInterpreter::run<false, false>(istate);
}
}
fixup_after_potential_safepoint();