Skip to content

Commit b1ebf82

Browse files
committed
8264358: Don't create invalid oop in method handle tracing
Reviewed-by: neliasso, thartmann
1 parent 627ad9f commit b1ebf82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/hotspot/cpu/aarch64/methodHandles_aarch64.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ void MethodHandles::generate_method_handle_dispatch(MacroAssembler* _masm,
444444

445445
#ifndef PRODUCT
446446
void trace_method_handle_stub(const char* adaptername,
447-
oop mh,
447+
oopDesc* mh,
448448
intptr_t* saved_regs,
449449
intptr_t* entry_sp) { }
450450

src/hotspot/cpu/x86/methodHandles_x86.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ void MethodHandles::generate_method_handle_dispatch(MacroAssembler* _masm,
503503

504504
#ifndef PRODUCT
505505
void trace_method_handle_stub(const char* adaptername,
506-
oop mh,
506+
oopDesc* mh,
507507
intptr_t* saved_regs,
508508
intptr_t* entry_sp) {
509509
// called as a leaf from native code: do not block the JVM!

0 commit comments

Comments
 (0)