-
Notifications
You must be signed in to change notification settings - Fork 738
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 Power-specific relocation types needed for SVM AOT #4781
Add Power-specific relocation types needed for SVM AOT #4781
Conversation
@@ -3911,12 +3918,12 @@ TR_RelocationRecordSymbolFromManager::applyRelocation(TR_RelocationRuntime *relo | |||
if (reloRuntime->reloLogger()->logEnabled()) | |||
{ | |||
reloRuntime->reloLogger()->printf("%s\n", name()); | |||
reloRuntime->reloLogger()->printf("\tpreparePrivateData: symbol %p\n", symbol); | |||
reloRuntime->reloLogger()->printf("\tapplyRelocation: symbol %p\n", symbol); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should also add the sizes of the binary templates to TR_RelocationRecord::_relocationRecordHeaderSizeTable
since that will be the canonical table of relo header sizes once all the AOT consolidation work is done.
For the Power codegen to work correctly with the newly implemented Symbol Validation Manager for AOT, a couple new relocation types need to be added: 1. TR_DiscontiguousSymbolFromManager represents a discontiguous load sequence that needs to be relocated with a symbol from the SVM 2. TR_ResolvedTrampolines represents the need to reserve a trampoline for a resolved method Signed-off-by: Ben Thomas <ben@benthomas.ca>
00012b3
to
eb58c32
Compare
@dsouzai All the issues you brought up should be fixed now |
jenkins test sanity xlinux,zlinux,plinux,aix jdk8,jdk11 |
jenkins test sanity zlinux jdk8 |
All tests passed; I guess the "build failed" is because of a Jenkins hiccup. |
For the Power codegen to work correctly with the newly implemented
Symbol Validation Manager for AOT, a couple new relocation types need to
be added:
sequence that needs to be relocated with a symbol from the SVM
for a resolved method
Signed-off-by: Ben Thomas ben@benthomas.ca