RFR: 8282392: [zero] Build broken on AArch64 [v2]
David Holmes
dholmes at openjdk.java.net
Wed Mar 2 00:52:01 UTC 2022
On Mon, 28 Feb 2022 16:21:37 GMT, Alan Hayward <duke at openjdk.java.net> wrote:
>> 8282392: [zero] Build broken on AArch64
>
> Alan Hayward has updated the pull request incrementally with one additional commit since the last revision:
>
> Remove NOT_AARCH64_PORT_ONLY
Zero is a CPU-agnostic interpreter build, but our builds are inherently CPU-based, so Zero has to represent that "don't care" CPU because it has to replace some CPU specific code with Zero's C code. But then you have to build other CPU-specific parts of the JDK even when using Zero. Hence the approach of using CPU ifdefs combined with a check for Zero.
Yes it is awkward and confusing and mistakes can creep in. But I don't think you will come up with anything better for this situation. And the AARCH64_PORT_ONLY is certainly not better IMO.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7633
More information about the hotspot-dev
mailing list