Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OMR Changes for Add JProfiling value profiling runtime helpers #7558

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions compiler/ras/Debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3658,6 +3658,8 @@ TR_Debug::getRuntimeHelperName(int32_t index)
case TR_jitProfileWarmCompilePICAddress: return "jitProfileAddress for mainline code PIC's";
case TR_jProfile32BitValue: return "jProfile32BitValue";
case TR_jProfile64BitValue: return "jProfile64BitValue";
case TR_jProfile32BitValueLowOpt: return "jProfile32BitValueLowOpt";
case TR_jProfile64BitValueLowOpt: return "jProfile64BitValueLowOpt";
case TR_prepareForOSR: return "prepareForOSR";

case TR_jitRetranslateCaller: return "jitRetranslateCaller";
Expand Down
4 changes: 3 additions & 1 deletion compiler/runtime/Helpers.inc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ SETVAL(TR_jitProfileBigDecimalValue,TR_jitProfileLongValue+1)
SETVAL(TR_jitProfileParseBuffer,TR_jitProfileBigDecimalValue+1)
SETVAL(TR_jProfile32BitValue,TR_jitProfileParseBuffer+1)
SETVAL(TR_jProfile64BitValue,TR_jProfile32BitValue+1)
SETVAL(TR_jitAddPicToPatchOnClassUnload,TR_jProfile64BitValue+1)
SETVAL(TR_jProfile32BitValueLowOpt, TR_jProfile64BitValue+1)
SETVAL(TR_jProfile64BitValueLowOpt, TR_jProfile32BitValueLowOpt+1)
SETVAL(TR_jitAddPicToPatchOnClassUnload,TR_jProfile64BitValueLowOpt+1)
SETVAL(TR_volatileReadLong,TR_jitAddPicToPatchOnClassUnload+1)
SETVAL(TR_volatileWriteLong,TR_volatileReadLong+1)
SETVAL(TR_volatileReadDouble,TR_volatileWriteLong+1)
Expand Down