--- a/src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp Tue Nov 21 10:21:24 2017 -0600
+++ b/src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp Tue Nov 21 09:04:42 2017 -0800
@@ -447,7 +447,8 @@
}
address TemplateInterpreterGenerator::generate_deopt_entry_for(TosState state,
- int step) {
+ int step,
+ address continuation) {
address entry = __ pc();
__ restore_bcp();
__ restore_locals();
@@ -505,7 +506,11 @@
__ bind(L);
}
- __ dispatch_next(state, step);
+ if (continuation == NULL) {
+ __ dispatch_next(state, step);
+ } else {
+ __ jump_to_entry(continuation);
+ }
return entry;
}