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

[lworld] compiler/valhalla/inlinetypes/TestValueConstruction.java fails intermittently

XMLWordPrintable

      While testing JDK-8334546 I've noticed that compiler/valhalla/inlinetypes/TestValueConstruction.java fails intermittently (8 out of 300 runs).

      The following additional VM flags are required:
      -XX:Tier0BackedgeNotifyFreqLog=0 -XX:Tier2BackedgeNotifyFreqLog=0 -XX:Tier3BackedgeNotifyFreqLog=0 -XX:Tier2BackEdgeThreshold=1 -XX:Tier3BackEdgeThreshold=1 -XX:Tier4BackEdgeThreshold=1 -Xbatch

      Output:
      java.lang.RuntimeException: assertEquals: expected x: 1, y: 0 to equal x: 1, y: 1
      at jdk.test.lib.Asserts.fail(Asserts.java:634)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:189)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:166)
      at compiler.valhalla.inlinetypes.TestValueConstruction.main(TestValueConstruction.java:618)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      See TODO 8335256 in the code.

            qamai Quan Anh Mai
            chagedorn Christian Hagedorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: