[11u] RFR: JDK-8222286: Fix for JDK-8213419 is broken on s390
Andrew Hughes
gnu.andrew at redhat.com
Wed Sep 16 03:05:36 UTC 2020
Bug: https://bugs.openjdk.java.net/browse/JDK-8222286
Webrev: https://cr.openjdk.java.net/~andrew/openjdk11/8222286/webrev.01/
On s390 (the 31-bit architecture), calls to log2_intptr with a size_t
argument are ambiguous, because there is log2_intptr(uintptr_t x) and
log2_intptr(intptr_t x). This is not a problem on other architectures
where size_t is the same as uintptr_t. See existing bugs for
more details of the s390 situation [0] [1] [2].
The issue can be resolved by explicitly casting to uintptr_t.
It is not applicable to >= 12u, as JDK-8213436 removed the problematic
function in which this occurs.
Ok for 11u?
[0] https://bugs.openjdk.java.net/browse/JDK-8203030
[1] https://bugs.openjdk.java.net/browse/JDK-8074459
[2] https://bugs.openjdk.java.net/browse/JDK-8046938
Thanks,
--
Andrew :)
Senior Free Java Software Engineer
OpenJDK Package Owner
Red Hat, Inc. (http://www.redhat.com)
PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222
More information about the jdk-updates-dev
mailing list