-
Notifications
You must be signed in to change notification settings - Fork 148
8268676: assert(!ik->is_interface() && !ik->has_subklass()) failed: inconsistent klass hierarchy #67
Conversation
👋 Welcome back vlivanov! A progress list of the required criteria for merging this PR into |
/label add hotspot-compiler |
@iwanowww |
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.
Good.
@iwanowww 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 9 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 |
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.
Looks good.
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.
Looks good.
Thanks for the reviews, Vladimir, Roland, and Nils. /integrate |
Going to push as commit 8545269.
Your commit was automatically rebased without conflicts. |
JDK-8267947 disabled the caching for "has_subklass() == false" and it became
more likely to observe class hierarchy changes when concurrent class loading
happens.
ArrayCopy
optimization may observe an effectively exact klass and proceed,but the observation can be invalidated later.
Proposed fix turns the problematic assert into a runtime check which bails out
the transformation if src input doesn't have exact klass type anymore.
Testing:
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk17 pull/67/head:pull/67
$ git checkout pull/67
Update a local copy of the PR:
$ git checkout pull/67
$ git pull https://git.openjdk.java.net/jdk17 pull/67/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 67
View PR using the GUI difftool:
$ git pr show -t 67
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk17/pull/67.diff