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

Add defaultValueSymbol for value type class #6530

Merged
merged 1 commit into from
May 26, 2022
Merged
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
7 changes: 6 additions & 1 deletion compiler/compile/OMRNonHelperSymbols.enum
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,12 @@
*/
J9JNIMethodIDvTableIndexFieldSymbol,

OMRlastPrintableCommonNonhelperSymbol = J9JNIMethodIDvTableIndexFieldSymbol,
/** \brief
* This symbol is used to access the default instance associated with a class, if any exists
*/
defaultValueSymbol,

OMRlastPrintableCommonNonhelperSymbol = defaultValueSymbol,

firstPerCodeCacheHelperSymbol,
lastPerCodeCacheHelperSymbol = firstPerCodeCacheHelperSymbol + TR_numCCPreLoadedCode - 1,
7 changes: 6 additions & 1 deletion compiler/compile/OMRSymbolReferenceTable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,12 @@ class SymbolReferenceTable
*/
J9JNIMethodIDvTableIndexFieldSymbol,

OMRlastPrintableCommonNonhelperSymbol = J9JNIMethodIDvTableIndexFieldSymbol,
/** \brief
* This symbol is used to access the default instance associated with a class, if any exists
*/
defaultValueSymbol,

OMRlastPrintableCommonNonhelperSymbol = defaultValueSymbol,

firstPerCodeCacheHelperSymbol,
lastPerCodeCacheHelperSymbol = firstPerCodeCacheHelperSymbol + TR_numCCPreLoadedCode - 1,
Expand Down
5 changes: 4 additions & 1 deletion compiler/ras/Debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1626,6 +1626,8 @@ TR_Debug::getName(TR::SymbolReference * symRef)
return "<nonNullableArrayNullStoreCheck>";
case TR::SymbolReferenceTable::J9JNIMethodIDvTableIndexFieldSymbol:
return "<J9JNIMethodIDvTableIndexFieldSymbol>";
case TR::SymbolReferenceTable::defaultValueSymbol:
return "<defaultValue>";
}
}

Expand Down Expand Up @@ -2090,7 +2092,8 @@ static const char *commonNonhelperSymbolNames[] =
"<j9VMThreadTempSlotField>",
"<computedStaticCallSymbol>",
"<j9VMThreadFloatTemp1>",
"<J9JNIMethodIDvTableIndexFieldSymbol>"
"<J9JNIMethodIDvTableIndexFieldSymbol>",
"<defaultValue>"
};

const char *
Expand Down