mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8152065: TraceBytecodes breaks the interpreter expression stack
Move trace_bytecode to InterpreterRuntime and make trace_bytecode an IRT_LEAF so that safepoints are not allowed. Reviewed-by: jiangli, dholmes, dcubed
This commit is contained in:
parent
6e0466f618
commit
1954276b28
11 changed files with 33 additions and 73 deletions
|
@ -1966,7 +1966,7 @@ address TemplateInterpreterGenerator::generate_trace_code(TosState state) {
|
|||
|
||||
// Pass a 0 (not used in sparc) and the top of stack to the bytecode tracer
|
||||
__ mov( Otos_l2, G3_scratch );
|
||||
__ call_VM(noreg, CAST_FROM_FN_PTR(address, SharedRuntime::trace_bytecode), G0, Otos_l1, G3_scratch);
|
||||
__ call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::trace_bytecode), G0, Otos_l1, G3_scratch);
|
||||
__ mov(Lscratch, O7); // restore return address
|
||||
__ pop(state);
|
||||
__ retl();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue