-
Notifications
You must be signed in to change notification settings - Fork 129
8371604: [lworld] SIGSEGV in InlineKlass::is_payload_marked_as_null #1752
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
base: lworld
Are you sure you want to change the base?
Conversation
|
👋 Welcome back phubner! A progress list of the required criteria for merging this PR into |
|
@Arraying 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 143 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@coleenp) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
The Skara bot seems to be malfunctioning. |
|
@Arraying The pull request is being re-evaluated and the inactivity timeout has been reset. |
Webrevs
|
|
There's another occurance of this int overflow with the _offset field in DelayedFieldAccess (c1_GraphBuilder.hpp). |
Good catch, thanks. This |
|
Correction, the possible overflow is in DelayedLoadIndexed, not DelayedFieldAccess, thank you Paul for figuring this out. |
|
Thanks also to Tobias and Coleen for helping troubleshoot. |
|
@Arraying |
coleenp
left a comment
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.
This looks good. Did you have a jvmci change still?
| assert(is_within_bounds(index), "index out of bounds"); | ||
|
|
||
| address addr = (address) base(); | ||
| addr += (index << Klass::layout_helper_log2_element_size(lh)); |
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.
Because index is an int, this could go negative right?
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.
Yep.
Nope, I shouldn't need to change |
|
I added a regression test, it doesn't actually take very long to run (I was mostly running slowdebug so I was under the impression it was much slower than it actually is) and the memory could be constrained by jtreg. Convenient. I still think that even with this test, JDK-8372261 applies and should be investigated further. |
coleenp
left a comment
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.
The test looks good! I'm glad you could add it.
Hi all,
This patch fixes several
intoverflows relating to flat array element loads/stores.I've included some gtests that address a subset of these changes. We should test flat arrays larger than 16GB in size, which is not something we can feasibly do in our tier1 jtreg tests. I've filed JDK-8372261 as a follow-up RFE to investigate this.
Testing: tiers 1-4,
LocalityCheck.javarun locally 100 times.Progress
Issue
Reviewers
Contributors
<[email protected]>Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/valhalla.git pull/1752/head:pull/1752$ git checkout pull/1752Update a local copy of the PR:
$ git checkout pull/1752$ git pull https://git.openjdk.org/valhalla.git pull/1752/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1752View PR using the GUI difftool:
$ git pr show -t 1752Using diff file
Download this PR as a diff file:
https://git.openjdk.org/valhalla/pull/1752.diff
Using Webrev
Link to Webrev Comment