-
Notifications
You must be signed in to change notification settings - Fork 722
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
Track method dependencies during AOT store compilations #20637
Track method dependencies during AOT store compilations #20637
Conversation
Attn @mpirvu. This is the last of the main work, gathering dependencies during AOT stores. |
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.
Overall it looks good, but I defer to @dsouzai for relocation record changes.
Signed-off-by: Christian Despres <[email protected]>
Signed-off-by: Christian Despres <[email protected]>
8d1f02d
to
239091a
Compare
jenkins compile all jdk8,jdk23 |
Build error:
|
Same compile error on aix:
|
239091a
to
0a01202
Compare
jenkins compile aix jdk8 |
I have a quetion. why couldn't the dependencies be added early on in
|
They probably could be. I don't know of any other places where the relevant records would be generated. I recorded the dependencies where I did because those are all the places where the SCC offset records are created for the JITServer AOT cache, so every offset that's immediately relevant to relocation (and only those offsets) will definitely go through one of those places. I think the only exception is the offsets in the well-known classes chain - I added those dependencies as they were being generated by the SVM instead of next to the |
The dependencies of AOT-compiled method bodies (class chain offsets of classes and whether or not they are initialized) are recorded during an AOT compilation and stored in the local SCC. Signed-off-by: Christian Despres <[email protected]>
0a01202
to
ac1d4a4
Compare
Build failed on
|
jenkins compile aix jdk8 |
Hm for SVM I think it's just those places, but for non-SVM, the inlined method validations happen in the relocation records, which is unfortunate; means you would need to go to the place where we create those relocations, which already in the codegen, so it's not particularly cleaner... |
I might be able to tie it to the creation of |
jenkins test sanity all jdk23 |
Two failures on zlinux:
cmdLineTester_GCRegressionTests_1 Since the feature in this PR is disabled, it's very unlikely that it is the source of these problems. |
The dependencies of AOT-compiled method bodies (class chain offsets of classes and whether or not they are initialized) are recorded during an AOT compilation and stored in the local SCC.
Related: #20529