We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9eab3 commit 28e49e9Copy full SHA for 28e49e9
src/hotspot/cpu/zero/frame_zero.cpp
@@ -125,10 +125,10 @@ bool frame::safe_for_sender(JavaThread *thread) {
125
bool frame::is_interpreted_frame_valid(JavaThread *thread) const {
126
assert(is_interpreted_frame(), "Not an interpreted frame");
127
// These are reasonable sanity checks
128
- if (fp() == 0 || (intptr_t(fp()) & (wordSize-1)) != 0) {
+ if (fp() == nullptr || (intptr_t(fp()) & (wordSize-1)) != 0) {
129
return false;
130
}
131
- if (sp() == 0 || (intptr_t(sp()) & (wordSize-1)) != 0) {
+ if (sp() == nullptr || (intptr_t(sp()) & (wordSize-1)) != 0) {
132
133
134
// These are hacks to keep us out of trouble.
0 commit comments