8261235: C1 compilation fails with assert(res->vreg_number() == index) failed: conversion check#622
8261235: C1 compilation fails with assert(res->vreg_number() == index) failed: conversion check#622zangcq wants to merge 4 commits intoopenjdk:masterfrom
Conversation
|
Hi @zangcq, welcome to this OpenJDK project and thanks for contributing! We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user zangcq" as summary for the issue. If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing |
|
@zangcq This change now passes all automated pre-integration checks. 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 21 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 (@rwestrel, @mrserb) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
/covered |
|
Thank you! Please allow for a few business days to verify that your employer has signed the OCA. Also, please note that pull requests that are pending an OCA check will not usually be evaluated, so your patience is appreciated! |
|
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
|
Hi @chhagedorn , I will backport your patch to jdk8 , could you please review this patch? |
chhagedorn
left a comment
There was a problem hiding this comment.
Otherwise, looks good to me!
| assert(_insertion_buffer.lir_list() == _insert_list, "wrong insertion buffer"); | ||
|
|
||
| LIR_Opr to_opr = LIR_OprFact::virtual_register(to_interval->reg_num(), to_interval->type()); | ||
| LIR_Opr to_opr =get_virtual_register(to_interval); |
There was a problem hiding this comment.
| LIR_Opr to_opr =get_virtual_register(to_interval); | |
| LIR_Opr to_opr = get_virtual_register(to_interval); |
There was a problem hiding this comment.
thanks for your suggestion, Fixed :-)
|
Hi @gnu-andrew , could you please review this patch? hagedorn just have read-only permissions. |
|
/approval |
|
@zangcq usage: |
|
/approval 8261235 request C1 compilation fails with assert(res->vreg_number() == index) failed: conversion check |
|
@zangcq usage: |
|
/approval request allow 8261235 |
|
@zangcq This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
Kindly ping @gnu-andrew , could you please review this patch? hagedorn just have read-only permissions. |
|
@zangcq This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
|
/touch |
|
@mrserb The pull request is being re-evaluated and the inactivity timeout has been reset. |
|
@zangcq This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
| * @compile TestTooManyVirtualRegisters.jasm | ||
| * @run main/othervm -Xbatch -XX:CompileCommand=dontinline,compiler.c1.TestExceptionBlockWithPredecessors::* | ||
| * compiler.c1.TestTooManyVirtualRegistersMain | ||
| */ |
There was a problem hiding this comment.
Note that there is a typo here, the wrong name is used for CompileCommand.
I have filed: https://bugs.openjdk.org/browse/JDK-8381880
There was a problem hiding this comment.
Appreciate it for your comments,should we fix this typo in this pr?
There was a problem hiding this comment.
no that is a separate issue, and it does not affect the ability to reproduce the bug.
|
/integrate |
|
/sponsor |
|
@jerboaa This PR has not yet been marked as ready for integration. |
|
@zangcq You need to issue |
|
/template append - [x] I confirm that I make this contribution in accordance with the OpenJDK Interim AI Policy |
|
@zangcq The pull request template has been appended to the pull request body |
Thanks for your advice,done |
|
/sponsor |
|
Going to push as commit 8dc952f.
Your commit was automatically rebased without conflicts. |
Hi all,
This is backport JDK-8261235 from jdk17 to jdk8u-dev, to fix C1 compilation failed in HugeMethods.
File 'hotspot/test/compiler/c1/TestTooManyVirtualRegistersMain.java' remove annotation ' @requires vm.compiler1.enabled
'
other file mainly in copyrighht year different.
it's necessary for jdk8u-dev.
Change has been verified locally, we do test jdk-tier1 tier2 and hotspot-tier1 passed, no risk.
Issue
JDK-8261235 : C1 compilation fails with assert(res->vreg_number() == index) failed: conversion check
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/622/head:pull/622$ git checkout pull/622Update a local copy of the PR:
$ git checkout pull/622$ git pull https://git.openjdk.org/jdk8u-dev.git pull/622/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 622View PR using the GUI difftool:
$ git pr show -t 622Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/622.diff
Using Webrev
Link to Webrev Comment