提交 0479b6e0 编写于 作者: I iveresov

7012766: assert(false) failed: DEBUG MESSAGE in MacroAssembler::debug32

Summary: Interpreter expects to see methodOop in rbx on method entry, which needs to be restored after call to profile_method.
Reviewed-by: kvn, never
上级 f9594026
...@@ -1369,6 +1369,7 @@ address InterpreterGenerator::generate_normal_entry(bool synchronized) { ...@@ -1369,6 +1369,7 @@ address InterpreterGenerator::generate_normal_entry(bool synchronized) {
__ bind(profile_method); __ bind(profile_method);
__ call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::profile_method)); __ call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::profile_method));
__ set_method_data_pointer_for_bcp(); __ set_method_data_pointer_for_bcp();
__ get_method(rbx);
__ jmp(profile_method_continue); __ jmp(profile_method_continue);
} }
// Handle overflow of counter and compile method // Handle overflow of counter and compile method
......
...@@ -1385,6 +1385,7 @@ address InterpreterGenerator::generate_normal_entry(bool synchronized) { ...@@ -1385,6 +1385,7 @@ address InterpreterGenerator::generate_normal_entry(bool synchronized) {
__ bind(profile_method); __ bind(profile_method);
__ call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::profile_method)); __ call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::profile_method));
__ set_method_data_pointer_for_bcp(); __ set_method_data_pointer_for_bcp();
__ get_method(rbx);
__ jmp(profile_method_continue); __ jmp(profile_method_continue);
} }
// Handle overflow of counter and compile method // Handle overflow of counter and compile method
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册