RFR(XS): 8025644 java/util/stream/test/org/openjdk/tests/java/util/stream/ToArrayOpTest.java fails with TestData$OfRef): failure java.lang.AssertionError: expected [true] but found [false]

Igor Veresov igor.veresov at oracle.com
Wed Jan 29 22:35:56 PST 2014

When we parse an aastore one of the optimizations we try is to statically cast the speculative type of the object that we obtained during profiling to the type of the superklass (which is the type of the array element) and then do a dynamic check that the type of the object is exactly what we expect. To work correctly the type of superklass must be exact. The following change adds this check.

Webrev: http://cr.openjdk.java.net/~iveresov/8025644/webrev.00/
Testing: jtreg, jprt, the failing regression test


More information about the hotspot-compiler-dev mailing list