[11u] RFR 8233019: java.lang.Class.isPrimitive() (C1) returns wrong result if Klass* is aligned to 32bit

Aleksey Shipilev shade at redhat.com
Tue Feb 4 13:16:56 UTC 2020


Original fix:
  https://bugs.openjdk.java.net/browse/JDK-8233019
  https://hg.openjdk.java.net/jdk/jdk/rev/9bbe560e8131

Patch does not apply to 11u cleanly, because the context is a bit different due to later
introduction of is_reference_type helper in JDK-8230505 [1]. I re-added the hunks in
c1_LIRAssembler_s390.cpp and c1_LIRAssembler_x86.cpp by hand.

11u webrev:
  https://cr.openjdk.java.net/~shade/8233019/webrev.11u.01/

Testing: tier1, tier2, tier3

-- 
Thanks,
-Aleksey

[1] https://bugs.openjdk.java.net/browse/JDK-8230505



More information about the jdk-updates-dev mailing list