-
Notifications
You must be signed in to change notification settings - Fork 216
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
8299635: Hotspot update for deprecated sprintf in Xcode 14 #2663
Conversation
👋 Welcome back gdams! A progress list of the required criteria for merging this PR into |
@gdams 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 6 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 |
This backport pull request has now been updated with issue from the original commit. |
The parent pull request that this pull request depends on has now been integrated and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork: git checkout xcode_hotspot
git fetch https://git.openjdk.org/jdk17u-dev.git master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push |
@@ -1,4 +1,5 @@ | |||
/* | |||
s |
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.
this feels like an accidental s
added to the comment but it's the same in openjdk/jdk https://github.com/openjdk/jdk/blob/4ec1ae109710aa150e27acf5706475d335c4655c/test/hotspot/jtreg/vmTestbase/nsk/jvmti/unit/functions/rawmonitor/rawmonitor.cpp#L1-L5 so needs fixing there
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.
Thanks. Created openjdk/jdk#20051
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.
Good catch and thanks @jerboaa for fixing in trunk. I'll open a backport to 21u.
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 OK to me. File differences were as you said. That was helpful info, thanks!
|
/approval request This change applies cleanly other than some missing files in JDK17u. All tests pass. This is also crucial to allow us to upgrade the GH actions workflow to move away from the deprecated macos-11 VMs. |
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.
Backport looks good. The omissions are actually a good example of how more instance of sprintf
have been creeping in since JDK 17. The Mac build failures should now keep more from happening.
test/hotspot/jtreg/runtime/Thread/libAsyncExceptionOnMonitorEnter.cpp
is from
JDK-8283044 so wouldn't expect that to ever appear in 17test/hotspot/jtreg/serviceability/jvmti/events/ThreadEnd/threadend01/libthreadend01.cpp
and test/hotspot/jtreg/serviceability/jvmti/events/ThreadStart/threadstart01/libthreadstart01.cpp` are both from the Virtual Threads JEP (JDK-8284161) so definitely wouldn't expect a backport- The
node.cpp
changes are from a dumping enhancement (JDK-8283775) so again no backport exported - The
globalDefinitions.hpp
change is from a fairly controversial adjustment to block the use of the "raw" variants over theos::
versions, and definitely shouldn't be backported (JDK-8214976)
TL;DR: I agree with your omissions.
/approve yes |
@gnu-andrew |
/integrate |
Going to push as commit faf55dd.
Your commit was automatically rebased without conflicts. |
Changes to the patch:
The following files don't exist in jdk17u
test/hotspot/jtreg/runtime/Thread/libAsyncExceptionOnMonitorEnter.cpp
(openjdk/jdk@4e20a03 JDK19+)test/hotspot/jtreg/serviceability/jvmti/events/ThreadEnd/threadend01/libthreadend01.cpp
(openjdk/jdk@9583e36 JDK19+)test/hotspot/jtreg/serviceability/jvmti/events/ThreadStart/threadstart01/libthreadstart01.cpp
(openjdk/jdk@9583e36 JDK19+)The changes didn't apply to
src/hotspot/share/opto/node.cpp
as openjdk/jdk@33ed036 is JDK20+The changes didn't apply to
src/hotspot/share/utilities/globalDefinitions.hpp
as openjdk/jdk@04f02ac is JDK19+Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/2663/head:pull/2663
$ git checkout pull/2663
Update a local copy of the PR:
$ git checkout pull/2663
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/2663/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2663
View PR using the GUI difftool:
$ git pr show -t 2663
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/2663.diff
Webrev
Link to Webrev Comment