Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.
/ jdk19 Public archive

8288105: [PPC64] Problems with -XX:+VerifyStack #3

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions src/hotspot/cpu/ppc/frame_ppc.cpp
Original file line number Diff line number Diff line change
@@ -394,17 +394,7 @@ intptr_t *frame::initial_deoptimization_info() {

#ifndef PRODUCT
// This is a generic constructor which is only used by pns() in debug.cpp.
frame::frame(void* sp, void* fp, void* pc) : _sp((intptr_t*)sp),
_pc((address)pc),
_cb(NULL),
_oop_map(NULL),
_on_heap(false),
DEBUG_ONLY(_frame_index(-1) COMMA)
_unextended_sp((intptr_t*)sp),
_fp(NULL) {
setup(); // also sets _fp and adjusts _unextended_sp
}

frame::frame(void* sp, void* fp, void* pc) : frame((intptr_t*)sp, (address)pc) {}
Copy link
Member

Choose a reason for hiding this comment

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

You might add a comment that fp is dropped intensionally. Only a nice to have ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Comment added. Thanks for the review!

#endif

// Pointer beyond the "oldest/deepest" BasicObjectLock on stack.