RFR: 8357119: Make Zero the default and only variant of HotSpot for iOS [v2]

Magnus Ihse Bursie ihse at openjdk.org
Fri May 16 15:49:55 UTC 2025


On Fri, 16 May 2025 13:03:13 GMT, Johan Vos <jvos at openjdk.org> wrote:

>> Julian Waters has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Touch up README.md
>
> @TheShermanTanker thank you for the PR. Looks good, some minor comments.
> The biggest minor comment is probably about restricting the VM variant to Zero for all iOS builds. I believe there is value in building the server variant for the iOS simulator. While you can't distribute apps with it, it might help developers testing their apps quickly.

@johanvos How can you test if you are building for the device or an emulator?

If this can/should be supported, then we also need to write something about it in the documents, not only update configure.

And if we can't detect the difference, then maybe most of this PR will need to be scrapped.

> README.md line 22:
> 
>> 20: ### Pre-requisites
>> 21: Following are the prerequisites to build JDK on Mac targeting iOS:
>> 22: 1. Download and install JDK24 for macOS. You can use the JDK you just built targeting macOS in the above note instead, but this is not recommended.
> 
> out of curiosity, why is that not recommended?

Yes, I can't see why that would be a problem.

-------------

PR Comment: https://git.openjdk.org/mobile/pull/35#issuecomment-2887096071
PR Review Comment: https://git.openjdk.org/mobile/pull/35#discussion_r2093289932


More information about the mobile-dev mailing list