[8u] RFA+RFR (S) 8211231: BarrierSetC1::generate_referent_check() confuses register allocator

Aleksey Shipilev shade at redhat.com
Tue Feb 12 14:53:48 UTC 2019


Please review and approve the push for the C1 compiler fix that can corrupt heap.

  Original Bug:
      URL: https://bugs.openjdk.java.net/browse/JDK-8211231
      Reporter: Roland Westrelin
      Assignee: Roland Westrelin
      Priority: P3
      Components: hotspot

  Original Fix:
        12: JDK-8211231, http://hg.openjdk.java.net/jdk/jdk/rev/2a12a3865916, 133 day(s) ago

  Backports and Forwardports:
        11: 11.0.2, JDK-8212688, http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/dd967d588882, 116
day(s) ago
         8: MISSING

Fix does not apply to 8u cleanly, because BarrierSetC1 move happened in 10. However, 8u code is
still susceptible to the same trouble. 8u version of the fix:
   http://cr.openjdk.java.net/~shade/8211231/webrev.8u.01/

Testing: Linux x86_64 fastdebug build, hotspot all jtregs (some unrelated failures)

Thanks,
-Aleksey



More information about the jdk8u-dev mailing list