8353330: Test runtime/cds/appcds/SignedJar.java fails in CDSHeapVerifier#24363
8353330: Test runtime/cds/appcds/SignedJar.java fails in CDSHeapVerifier#24363iklam wants to merge 1 commit intoopenjdk:masterfrom
Conversation
|
👋 Welcome back iklam! A progress list of the required criteria for merging this PR into |
|
@iklam This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 4 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
iwanowww
left a comment
There was a problem hiding this comment.
Looks good.
// [D] Simple caches whose value doesn't matter.
Does the comment refer to "identity"?
dholmes-ora
left a comment
There was a problem hiding this comment.
Fix seems fine but I'm worried about how fragile this is. Any core-libs change might result in a change to the early loaded classes and break things again.
liach
left a comment
There was a problem hiding this comment.
Surprised they aren't caught earlier - they are used for spreader and collector forms that can easily appear in asType adaptions in plain invoke.
|
Thanks @iwanowww @dholmes-ora @dholmes-ora for the review |
|
Going to push as commit 15d36ee.
Your commit was automatically rebased without conflicts. |
Java core-lib changes in JDK-8339280 for code-signing causes more java.lang.invoke classes to be initialized in the assembly phase.
Static fields like
java/lang/invoke/MethodHandleImpl$ArrayAccessor::OBJECT_ARRAY_SETTERare just cached MethodHandles whose object identity doesn't matter. So it's OK for them to be stored into the AOT cache. Therefore, I added them to the CDSHeapVerifier exclusion lists.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/24363/head:pull/24363$ git checkout pull/24363Update a local copy of the PR:
$ git checkout pull/24363$ git pull https://git.openjdk.org/jdk.git pull/24363/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 24363View PR using the GUI difftool:
$ git pr show -t 24363Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/24363.diff
Using Webrev
Link to Webrev Comment