On 2020-05-15 19:49, Yumin Qi wrote:
Hi,
Please review the xsmall change for
bug: 8245070: https://bugs.openjdk.java.net/browse/JDK-8245070
webrev: http://cr.openjdk.java.net/~minqi/2020/8245070/webrev-00/
The change of 8245070 broke build for 32 bits, since no compressed
oops on 32 bits. Guard the change for 64 bits only.
I could not build 32 bits --- have no 32 bit platform to make sure
of the change, so please give a detail look. The variable
OPENJDK_TARGET_CPU_BITS is copied from other file.
Hi Yumin,
I have already suggested a patch along these line in
https://mail.openjdk.java.net/pipermail/build-dev/2020-May/027469.html.
I am still awaiting confirmation from Marc that it solves his problem.
Regarding your patch, the contemporary style of checking target bits is
"ifeq ($(call isTargetCpuBits, 64), true))", rather than "ifeq
($(OPENJDK_TARGET_CPU_BITS), 64)".
/Magnus
Thanks
Yumin