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

[Graal] Several testcases from applications/jcstress/acqrel.java fails with forbidden state

    XMLWordPrintable

Details

    • b32
    • Verified

    Backports

      Description

        Tests fail with graal enabled only, see options
        "-XX:+CreateCoredumpOnCrash -ea -esa -server -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler -Djvmci.Compiler=graal -XX:+TieredCompilation"
        Reproduced always.

        log complains that volatile varHandle state is incorrect;

        org.openjdk.jcstress.tests.acqrel.varHandles.arrays.volatiles.ShortDoubleTest [-Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S1149/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/03e3270f-1897-46eb-b871-de0aaef5bfab/runs/4431050e-c587-4e50-bece-36e9f131b417/testoutput/test-support/jtreg_open_test_hotspot_jtreg_jcstress_part2/scratch/1, -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S1149/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/03e3270f-1897-46eb-b871-de0aaef5bfab/runs/4431050e-c587-4e50-bece-36e9f131b417/testoutput/test-support/jtreg_open_test_hotspot_jtreg_jcstress_part2/scratch/1, -XX:MaxRAMPercentage=6, -XX:+CreateCoredumpOnCrash, -ea, -esa, -server, -XX:+UnlockExperimentalVMOptions, -XX:+EnableJVMCI, -XX:+UseJVMCICompiler, -Djvmci.Compiler=graal, -XX:+TieredCompilation]: Observed forbidden state: 0.0, 0.0, -1 (Seeing previous writes, forbidden with proper guard.)

        Attachments

          Issue Links

            Activity

              People

                roland Roland Westrelin
                lmesnik Leonid Mesnik
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: