Skip to content
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

8255894: Remove unused StubRoutines::_zero_aligned_words #1053

Closed
wants to merge 1 commit into from

Conversation

cl4es
Copy link
Member

@cl4es cl4es commented Nov 4, 2020

_zero_aligned_words was a SPARC-only optimization added by JDK-7059037


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed

Testing

Linux x64 Linux x86 Windows x64 macOS x64
Build ✔️ (5/5 passed) ✔️ (2/2 passed) ✔️ (2/2 passed) ✔️ (2/2 passed)
Test (tier1) ✔️ (9/9 passed) ✔️ (9/9 passed) ❌ (2/9 failed) ❌ (1/9 failed)

Failed test tasks

Issue

  • JDK-8255894: Remove unused StubRoutines::_zero_aligned_words

Reviewers

Download

$ git fetch https://git.openjdk.java.net/jdk pull/1053/head:pull/1053
$ git checkout pull/1053

Sorry, something went wrong.

@bridgekeeper
Copy link

bridgekeeper bot commented Nov 4, 2020

👋 Welcome back redestad! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot added the rfr Pull request is ready for review label Nov 4, 2020
@openjdk
Copy link

openjdk bot commented Nov 4, 2020

@cl4es The following label will be automatically applied to this pull request:

  • hotspot

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.

@openjdk openjdk bot added the hotspot hotspot-dev@openjdk.org label Nov 4, 2020
@mlbridge
Copy link

mlbridge bot commented Nov 4, 2020

Webrevs

@glaubitz
Copy link
Contributor

glaubitz commented Nov 4, 2020

FWIW, we are still building Zero on SPARC in Debian. So, if there is an extra alignment that's needed on SPARC, I'd appreciate if it could stay in in case it's required for SPARC.

@shipilev
Copy link
Member

shipilev commented Nov 4, 2020

FWIW, we are still building Zero on SPARC in Debian. So, if there is an extra alignment that's needed on SPARC, I'd appreciate if it could stay in in case it's required for SPARC.

This is not about Zero VM. This stub is supposed to be zeroing the memory, and it is not used at all, AFAICS. So there is no breakage for Zero VM on SPARC.

@glaubitz
Copy link
Contributor

glaubitz commented Nov 4, 2020

This is not about Zero VM. This stub is supposed to be zeroing the memory, and it is not used at all, AFAICS. So there is no breakage for Zero VM on SPARC.

OK, thanks. I just wanted to be sure since I remember there were parts in Hotspot that were used both for Zero and the native versions of Hotspot.

@cl4es
Copy link
Member Author

cl4es commented Nov 4, 2020

FWIW, we are still building Zero on SPARC in Debian. So, if there is an extra alignment that's needed on SPARC, I'd appreciate if it could stay in in case it's required for SPARC.

This routine was used as part of an optimization of pd_fill_to_aligned_words on SPARC. I'm not sure how this method looks in your source tree now since all the flags that control this has been dropped from the mainline.

@shipilev
Copy link
Member

shipilev commented Nov 4, 2020

After looking at copy_zero.hpp, I believe Zero uses its own pd_fill_to_aligned_words and pd_fill_to_words. AFAIU, Zero tries to avoid the arch-specific code as much as possible, and that also extends to not using the "usual" stubs that require arch-specific generators.

@openjdk
Copy link

openjdk bot commented Nov 4, 2020

@cl4es 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:

8255894: Remove unused StubRoutines::_zero_aligned_words

Reviewed-by: shade

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 3 new commits pushed to the master branch:

  • 61c9247: 8255895: Submit workflow artifacts miss hs_errs/replays due to ZIP include mismatch
  • 7f4d873: 8255215: Unsupported 'valign' attribute for 'tr' tag used in j.s.t.h.HTMLDocument
  • 724217c: 8255893: Problemlist runtime/cds/appcds/jigsaw/NewModuleFinderTest.java

Please see this link for an up-to-date comparison between the source branch of this pull request and the master branch.
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.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Nov 4, 2020
@cl4es
Copy link
Member Author

cl4es commented Nov 4, 2020

@shipilev thanks for verifying that (and for reviewing)!

@cl4es
Copy link
Member Author

cl4es commented Nov 5, 2020

/integrate

@openjdk openjdk bot closed this Nov 5, 2020
@openjdk openjdk bot added integrated Pull request has been integrated and removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Nov 5, 2020
@openjdk
Copy link

openjdk bot commented Nov 5, 2020

@cl4es Since your change was applied there have been 34 commits pushed to the master branch:

  • fc894ab: 8255955: Shenandoah: Only STW GC should process concurrent roots at pauses
  • d6f0940: 8255913: Decrease number of iterations in TestMaxCachedBufferSize
  • 1b59595: 8255914: [AOT] Using AOT flag should give warning when AOT is not included in build
  • a50fdd5: 8219014: (bf) Add absolute bulk put methods which accept a source Buffer
  • 3a02578: 8255452: Doing GC during JVMTI MethodExit event posting breaks return oop
  • ba2ff3a: 8250637: UseOSErrorReporting times out (on Mac and Linux)
  • 31918c5: 8255847: Shenandoah: Shenandoah should not mark through weak roots
  • 867a484: 8255214: Unsupported 'valign' attribute for 'th' tag used in j.u.l.LogManager
  • d3c43c2: 8255937: Better cleanup for test/jdk/javax/imageio/stream/StreamFlush.java
  • b65ff60: 8255226: (tz) Upgrade time-zone data to tzdata2020d
  • ... and 24 more: https://git.openjdk.java.net/jdk/compare/6023f6b1bf99de413e78c6373674649cbd68fae8...master

Your commit was automatically rebased without conflicts.

Pushed as commit 140c162.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotspot hotspot-dev@openjdk.org integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

None yet

3 participants