Skip to content
Permalink
Browse files
8008243: Zero: Implement fast bytecodes
Reviewed-by: rkennke, coleenp
  • Loading branch information
shipilev committed Nov 16, 2021
1 parent bd92674 commit e4362007da8e40c076493364df91cf85960a03e7
Showing 4 changed files with 544 additions and 75 deletions.
@@ -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();

1 comment on commit e436200

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on e436200 Nov 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.