Skip to content

Commit

Permalink
Update (2024.01.26)
Browse files Browse the repository at this point in the history
32186: LA port of 8314020: Print instruction blocks in byte units
32079: LA port of 8313796: AsyncGetCallTrace crash on unreadable interpreter method pointer
  • Loading branch information
loongson-jvm authored Jan 26, 2024
1 parent c1ce7c2 commit 73acfae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/loongarch/frame_loongarch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ bool frame::is_interpreted_frame_valid(JavaThread* thread) const {

// first the method

Method* m = *interpreter_frame_method_addr();
Method* m = safe_interpreter_frame_method();

// validate the method we'd find in this potential sender
if (!Method::is_valid_method(m)) return false;
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ void os::print_tos_pc(outputStream *st, const void *context) {
// point to garbage if entry point in an nmethod is corrupted. Leave
// this at the end, and hope for the best.
address pc = os::fetch_frame_from_context(uc).pc();
print_instructions(st, pc, 4/*native instruction size*/);
print_instructions(st, pc);
st->cr();
}

Expand Down

0 comments on commit 73acfae

Please sign in to comment.