File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -988,7 +988,7 @@ void InterpreterMacroAssembler::remove_activation(
988
988
const Register rmon = LP64_ONLY (c_rarg1) NOT_LP64 (rcx);
989
989
// monitor pointers need different register
990
990
// because rdx may have the result in it
991
- NOT_LP64 (get_thread (rcx );)
991
+ NOT_LP64 (get_thread (rthread );)
992
992
993
993
// The below poll is for the stack watermark barrier. It allows fixing up frames lazily,
994
994
// that would normally not be safe to use. Such bad returns into unsafe territory of
@@ -1001,6 +1001,7 @@ void InterpreterMacroAssembler::remove_activation(
1001
1001
push (state);
1002
1002
call_VM (noreg, CAST_FROM_FN_PTR (address, InterpreterRuntime::at_unwind));
1003
1003
pop (state);
1004
+ NOT_LP64 (get_thread (rthread);) // call_VM clobbered it, restore
1004
1005
bind (fast_path);
1005
1006
1006
1007
// get the value of _do_not_unlock_if_synchronized into rdx
You can’t perform that action at this time.
0 commit comments