Skip to content

Commit

Permalink
Remove nonexistent data from relo log format string
Browse files Browse the repository at this point in the history
The relocation debug dump code for
TR_ValidateStackWalkerMaySkipFramesRecord incorrectly tried to also
print out a beholderMethod even though there isn't one.

Signed-off-by: Irwin D'Souza <dsouzai.gh@gmail.com>
  • Loading branch information
dsouzai committed Nov 19, 2021
1 parent 1fff3ed commit 5b23440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/compiler/codegen/J9AheadOfTimeCompile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1813,7 +1813,7 @@ J9::AheadOfTimeCompile::dumpRelocationHeaderData(uint8_t *cursor, bool isVerbose
self()->traceRelocationOffsets(cursor, offsetSize, endOfCurrentRecord, orderedPair);
if (isVerbose)
{
traceMsg(self()->comp(), "\n Validate Stack Walker May Skip Frames: methodID=%d, methodClassID=%d, beholderID=%d, skipFrames=%s ",
traceMsg(self()->comp(), "\n Validate Stack Walker May Skip Frames: methodID=%d, methodClassID=%d, skipFrames=%s ",
(uint32_t)swmsfRecord->methodID(reloTarget),
(uint32_t)swmsfRecord->methodClassID(reloTarget),
swmsfRecord->skipFrames(reloTarget) ? "true" : "false");
Expand Down

0 comments on commit 5b23440

Please sign in to comment.