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

[JVMCI] compiler/unsafe/UnsafeGetStableArrayElement test asserts wrong values with Graal

XMLWordPrintable

    • b26

        JDK-8264135 introduced changes to the UnsafeGetStableArrayElement test to account for the case that the test is run with the Graal compiler. If Graal is used it will assert that constants are folded by asserting matching instead of mismatch.

        Since JDK-8275645 Graal no longer constant folds unaligned reads and thus the UnsafeGetStableArrayElement test fails for the unaligned cases because it tests that Graal actually folds them.

        The test should be adapted to assert mismatch instead of match for the unaligned Test::testS_U,Test::testC_U,Test::testI_U,Test::testJ_U tests.

              davleopo David Leopoldseder
              davleopo David Leopoldseder
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: