-
Enhancement
-
Resolution: Unresolved
-
P2
-
9, 10
Some of the String related intrinsics have range checks in the intrinsic itself instead of having a Java wrapper (see John's comment here [1]). We should investigate if we can safely move the checks into the Java code while avoiding problems like JDK-8142303. We can probably make use of the intrinsified Preconditions.checkIndex().
[1] http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-April/022936.html
[1] http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-April/022936.html
- relates to
-
JDK-8155608 String intrinsic range checks are not strict enough
- Resolved
-
JDK-8159129 TestStringIntrinsicRangeChecks fails w/ No exception thrown for compressByte/inflateByte
- Resolved
-
JDK-8142303 C2 compilation fails with "bad AD file"
- Closed
-
JDK-8158168 Missing bounds checks for some String intrinsics
- Closed