Integrated: 8357119: Make Zero the default variant of HotSpot for iOS

Julian Waters jwaters at openjdk.org
Mon May 26 09:36:02 UTC 2025


On Fri, 16 May 2025 08:34:03 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> Currently, the Zero variant of HotSpot must be manually selected for mobile to compile properly for iOS, since iOS does not allow writeable and executable sections. Since Zero is, to my knowledge, the only valid HotSpot variant for iOS, this default should be handled by the build rather than require the developer to have specific knowledge about iOS and the mobile fork. I also took the opportunity to explicitly disallow selecting other JVM variants at all for iOS, this can be rolled back if my assumption turns out to be incorrect. While here, also touch up the build docs a little.

This pull request has now been integrated.

Changeset: a41ae11b
Author:    Julian Waters <jwaters at openjdk.org>
Committer: Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.org/mobile/commit/a41ae11b149ed9173c288cfaa518387c5b2280b6
Stats:     27 lines in 2 files changed: 14 ins; 3 del; 10 mod

8357119: Make Zero the default variant of HotSpot for iOS

Reviewed-by: ihse, jvos

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

PR: https://git.openjdk.org/mobile/pull/35


More information about the mobile-dev mailing list