RFR: 8357119: Make Zero the default and only variant of HotSpot for iOS [v3]
Julian Waters
jwaters at openjdk.org
Mon May 19 05:14:27 UTC 2025
> 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.
Julian Waters has updated the pull request incrementally with two additional commits since the last revision:
- Allow other JVMs again in hotspot.m4
- Improve README.md
-------------
Changes:
- all: https://git.openjdk.org/mobile/pull/35/files
- new: https://git.openjdk.org/mobile/pull/35/files/0eb8eb02..3fed55c3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=mobile&pr=35&range=02
- incr: https://webrevs.openjdk.org/?repo=mobile&pr=35&range=01-02
Stats: 16 lines in 2 files changed: 2 ins; 4 del; 10 mod
Patch: https://git.openjdk.org/mobile/pull/35.diff
Fetch: git fetch https://git.openjdk.org/mobile.git pull/35/head:pull/35
PR: https://git.openjdk.org/mobile/pull/35
More information about the mobile-dev
mailing list