Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.


8297027: Fix broken aarch64 build of 13u/15u after bad backport of 82…
Browse files Browse the repository at this point in the history

Reviewed-by: bae
  • Loading branch information
Yuri Nesterenko committed Nov 15, 2022
1 parent d6b3072 commit aa9053f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/c1/c1_Runtime1.cpp
Expand Up @@ -1320,7 +1320,7 @@ JRT_ENTRY(void, Runtime1::patch_code(JavaThread* thread, Runtime1::StubID stub_i
frame runtime_frame = thread->last_frame();
frame caller_frame = runtime_frame.sender(&reg_map);

if (is_patching_needed(current, stub_id)) {
if (is_patching_needed(thread, stub_id)) {
// Make sure the nmethod is invalidated, i.e. made not entrant.
nmethod* nm = CodeCache::find_nmethod(caller_frame.pc());
if (nm != NULL) {
Expand Down

1 comment on commit aa9053f

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.