-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
8256215: Shenandoah: re-organize saving/restoring machine state in assembler code #1172
8256215: Shenandoah: re-organize saving/restoring machine state in assembler code #1172
Conversation
👋 Welcome back shade! A progress list of the required criteria for merging this PR into |
@shipilev this pull request can not be integrated into git checkout JDK-8256215-shenandoah-no-sse2-fail
git fetch https://git.openjdk.java.net/jdk master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
783a687
to
e28c534
Compare
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.
Nice change! See comment. Do we need to handle no-SSE case too?
e28c534
to
69475ad
Compare
69475ad
to
b11adfe
Compare
@shipilev 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! |
Webrevs
|
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.
Probably, no processor that does not support sse2, but should we always use VM_version::supports_sse(x)? instead of UseSSE(x)
"Hotspot way" seems to be "check for VM_version::supports_sse* in assemblers" + "check for appropriate UseSSE level in machine-specific code before asking assemblers". This is what the patch does. ...or I misunderstand the question. |
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.
Looks good, but I have questions.
src/hotspot/cpu/x86/gc/shenandoah/shenandoahBarrierSetAssembler_x86.cpp
Outdated
Show resolved
Hide resolved
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.
Looks good to me! Thanks!
src/hotspot/cpu/x86/gc/shenandoah/shenandoahBarrierSetAssembler_x86.cpp
Outdated
Show resolved
Hide resolved
@shipilev 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 4 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
Okay, then. |
/integrate |
@shipilev Since your change was applied there have been 18 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit a97aedf. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
This only affects x86_32, as x86_64 uses at least UseSSE >= 2 at all times.
Additional testing:
tier1
, Linux x86_64-XX:+UseShenandoahGC
tier1
, Linux x86_32-XX:+UseShenandoahGC
tier1
, Linux x86_32-XX:+UseShenandoahGC -XX:UseSSE=0
tier1
, Linux x86_32-XX:+UseShenandoahGC -XX:UseSSE=1
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/1172/head:pull/1172
$ git checkout pull/1172