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:
Igor Veresov 2011-01-18 18:00:06 -08:00
parent d2aac739a8
commit 00e24ca7ca
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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