mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-17 22:05:31 +00:00
7012766: assert(false) failed: DEBUG MESSAGE in MacroAssembler::debug32
Interpreter expects to see methodOop in rbx on method entry, which needs to be restored after call to profile_method. Reviewed-by: kvn, never
This commit is contained in:
parent
d2aac739a8
commit
00e24ca7ca
@ -1369,6 +1369,7 @@ address InterpreterGenerator::generate_normal_entry(bool synchronized) {
|
||||
__ bind(profile_method);
|
||||
__ call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::profile_method));
|
||||
__ set_method_data_pointer_for_bcp();
|
||||
__ get_method(rbx);
|
||||
__ jmp(profile_method_continue);
|
||||
}
|
||||
// Handle overflow of counter and compile method
|
||||
|
||||
@ -1385,6 +1385,7 @@ address InterpreterGenerator::generate_normal_entry(bool synchronized) {
|
||||
__ bind(profile_method);
|
||||
__ call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::profile_method));
|
||||
__ set_method_data_pointer_for_bcp();
|
||||
__ get_method(rbx);
|
||||
__ jmp(profile_method_continue);
|
||||
}
|
||||
// Handle overflow of counter and compile method
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user