-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Compile Windows Java 15+ using VS2019 #2147
Comments
For OpenJ9, I expect this also means creating a VS2019 pre-compiled version of openssl to use for the Java 15+ builds. |
Time is short before the Oct 20 release. I'm not requesting the change be done before this release, but it should be done for the next one. |
Playbook updates already made, might just be a build side change that is needed?? |
(Hope you don't mind me clarifying the title Peter!) I agree that we shouldn't do it before the GA so we can queue this up for afterwards. |
Hotspot Java 15+ builds should change to use VS2019 as well. According to Joe they don't use it now. The new title seems misleading, unless there is another issue opened to change Hotspot builds. |
OK. For completeness can you provide a reference to the change in default in OpenJDK? |
http://hg.openjdk.java.net/jdk-updates/jdk15u/file/dee440862fbe/make/autoconf/toolchain_windows.m4 |
Compare to Java 11
|
Is this going to happen for the 15.0.2 release? |
@pshipton If I'm not mistaken, January will be the last release of 15. So maybe we just skip it if there aren't any problems caused by VS 2017. My appetite for experiments is low. But what would be great is to change to VS 2019 for 16 and 17. Can you make a PR? (But you can convince me otherwise!) |
It shouldn't be much of an experiment since OpenJ9 has been compiling 15+ with VS2019 since before the last release. Although I suppose there could be a change in measured performance, which we don't want at the last minute.
I don't have any experience making this type of change at Adopt, I'll leave it for Stewart or someone else. If it doesn't happen until Java 16, that's fine, as long as it's not forgotten. |
I'm personally ok with making this change on the basis that it's been well tested at OpenJ9 (although VS2019 has NOT been well tested at adopt yet obviously!) - if we can get it in we can leave it running over the next week or so and if we conclude it's a bad idea for whatever reason we can back it out before the GA for 15. PR raised as per the message above this comment :-) |
@sxa Reopening because your PR was only for OpenJ9, not Hotspot. Hotspot is still 2017 but should be 2019, too, see https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms. |
Yep thanks for reopening - HotSpot is a separate question - I wasn't expecting us to move that immediately - that'll need some wider discussion (likely with input from the MSFT team although I'm not sure how involved @d3r3kk is now). |
I'm not sure that sticking to the default toolchain used by OpenJDK warrants a lot of discussion and deliberation. The problem is usually deviating from the default toolchain which we're doing right now without having had that discussion. |
Aligns AdoptOpenJDK with upstream which is already using VS 2019; see https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms. For details, see gh-2432 and gh-2147.
Only outstanding issue should be addressed with #2438 - with 15 out of service there is no reason to adjust the process for that version. Closing |
OpenJDK Java 15+ sets the default compiler for Windows to VS2019. Both Hotspot and OpenJ9 should be compiled with this version. OpenJ9 made the switch already for Java 15 GA, so we know it's working.
eclipse-openj9/openj9#9805
eclipse-openj9/openj9#10302
The text was updated successfully, but these errors were encountered: