8378195: guarantee(static_cast<int>(_oops_size) == align_up(code_buffer->total_oop_size(), oopSize)) failed: failed: 12272 != 77808#30355
Conversation
…er->total_oop_size(), oopSize)) failed: failed: 12272 != 77808
|
👋 Welcome back kvn! A progress list of the required criteria for merging this PR into |
|
/contributor add @dougxc |
|
@vnkozlov 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 no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
|
@vnkozlov |
This issue occurs when JVMCI installs code that has too many embedded object references, triggering this limit check. JVMCI's field
metadata_sizehave the same problem - 16 bits is not enough.The change removes
_oops_sizefield and changemetadata_sizefiled's type toint._oops_sizeis not used after JDK-8343789 changes where we forgot to remove it. Because oops section is the last section in nmethod, its size is easy calculated without_oops_sizefield.@dougxc is author of changes - he pushed it into Graal repository. I am testing and pushing into Open JDK.
Tested: tier1-4,hs-comp-stress
Progress
Issue
Reviewers
Contributors
<dnsimon@openjdk.org>Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/30355/head:pull/30355$ git checkout pull/30355Update a local copy of the PR:
$ git checkout pull/30355$ git pull https://git.openjdk.org/jdk.git pull/30355/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 30355View PR using the GUI difftool:
$ git pr show -t 30355Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/30355.diff
Using Webrev
Link to Webrev Comment