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

C1: Incorrect LoadIndexed value numbering

XMLWordPrintable

    • b09
    • Verified

        I suspect this is a compiler bug in compact string intrinsics, because it reproduces only with C1. Starts to pass with `-XX:-CompactStrings` (which disables compact strings). Starts to pass `-XX:-Inline` (which disables intrinsics). Starts to pass with `-XX:DisableIntrinsic=_getCharStringU`.

        Reproduces reliably after JDK-8268698, but the issue could manifest after JDK-8141132 in any unlucky code.

        % CONF=linux-x86_64-server-fastdebug make images test TEST="java/time/test/java/time/format/TestUnicodeExtension.java" TEST_VM_OPTS="-XX:TieredStopAtLevel=1"

        ...

        est test.java.time.format.TestUnicodeExtension.test_withLocale(dz, null, null, null, null, "??????????, ????????2017 ??????????? ????10 ??????? 3 ?????? 15:00 ?????? ???????????????????????????????????????"): failure
        java.time.format.DateTimeParseException: Text '??????????, ????????2017 ??????????? ????10 ??????? 3 ?????? 15:...' could not be parsed at index 74

        ===============================================
        java/time/test/java/time/format/TestUnicodeExtension.java
        Total tests run: 531, Passes: 519, Failures: 12, Skips: 0
        ===============================================

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: