Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8156534

Check if range checks can be moved into Java wrapper for intrinsics

XMLWordPrintable

      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

            Unassigned Unassigned
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: