8264358: Don't create invalid oop in method handle tracing

Reviewed-by: neliasso, thartmann
This commit is contained in:
Stefan Karlsson 2021-04-12 06:37:56 +00:00
parent 627ad9fe22
commit b1ebf82269
2 changed files with 2 additions and 2 deletions

View File

@ -444,7 +444,7 @@ void MethodHandles::generate_method_handle_dispatch(MacroAssembler* _masm,
#ifndef PRODUCT
void trace_method_handle_stub(const char* adaptername,
oop mh,
oopDesc* mh,
intptr_t* saved_regs,
intptr_t* entry_sp) { }

View File

@ -503,7 +503,7 @@ void MethodHandles::generate_method_handle_dispatch(MacroAssembler* _masm,
#ifndef PRODUCT
void trace_method_handle_stub(const char* adaptername,
oop mh,
oopDesc* mh,
intptr_t* saved_regs,
intptr_t* entry_sp) {
// called as a leaf from native code: do not block the JVM!