8304681: compiler/sharedstubs/SharedStubToInterpTest.java fails after JDK-8304387#13135
8304681: compiler/sharedstubs/SharedStubToInterpTest.java fails after JDK-8304387#13135zhengxiaolinX wants to merge 2 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back xlinzheng! A progress list of the required criteria for merging this PR into |
|
@zhengxiaolinX The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
|
Hi @eastig, would you mind having a look at this simple change of test |
|
Thank you for the review, Evgeny! |
Webrevs
|
|
@zhengxiaolinX 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 90 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 (@eastig, @vnkozlov, @shipilev) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
Thank you for the review, Vladimir! Only a test fix. |
|
@zhengxiaolinX |
| List<String> addrs = Pattern.compile("\\(static_stub\\) addr=(\\w+) .*\\[static_call=") | ||
| .matcher(output.getStdout()) | ||
| .results() | ||
| .map(m -> m.group(1)).toList(); |
There was a problem hiding this comment.
| .map(m -> m.group(1)).toList(); | |
| .map(m -> m.group(1)) | |
| .toList(); |
| .results() | ||
| .map(m -> m.group(1)) | ||
| .collect(Collectors.toList()); | ||
| .map(m -> m.group(1)).toList(); |
There was a problem hiding this comment.
| .map(m -> m.group(1)).toList(); | |
| .map(m -> m.group(1)) | |
| .toList(); |
|
Thank you for the review, Aleksey! Done; tests still pass on three platforms with the latest change (release and fastdebug build). Adding the label back. |
|
@zhengxiaolinX |
|
/sponsor |
|
Going to push as commit 0985288.
Your commit was automatically rebased without conflicts. |
|
@shipilev @zhengxiaolinX Pushed as commit 0985288. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Please review this test fix for JDK-8304387 after RFR.
Instead of specifying shared stubs' locations in this test, we could check if two or more relocations combined with each of them in this test, same as the other test
SharedTrampolineTest.java. The counting logic is aligned withSharedTrampolineTest.java. Printing relocation stuff requires debug version vm, so this test is changed to debug only. Also some minor cleanups for the tests.Apologies for the tier2 failure. I mainly focused on if there were new hs_errs when working on JDK-8304387. :-(
I am now confirming if the comment "Static stubs must be created at the end of the Stub section" could be removed, which needs a little extra time - though I think we can relax such limitations in
SharedStubToInterpTest.java.-- Update on March 27th: comfirmed; please see the JBS issue for the discussion.
Tested x86_64, AArch64 and RISC-V for tests under
compiler/sharedstubsfolder, and now all passed (release, fastdebug).Thanks,
Xiaolin
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/13135/head:pull/13135$ git checkout pull/13135Update a local copy of the PR:
$ git checkout pull/13135$ git pull https://git.openjdk.org/jdk.git pull/13135/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 13135View PR using the GUI difftool:
$ git pr show -t 13135Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/13135.diff