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

Add -Xbatch to compiler/blackhole tests

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      16
    • Resolved In Build:
      b28

      Description

      Samples:

      compiler/blackhole/BlackholeStaticTest.java#c2-no-coops
      Linux-x64-debug

      java.lang.IllegalStateException: Should not have been entered: bh_s_boolean_0
      at compiler.blackhole.BlackholeTarget.shouldNotBeEntered(BlackholeTarget.java:51)
      at compiler.blackhole.BlackholeStaticTest.runTries(BlackholeStaticTest.java:118)
      at compiler.blackhole.BlackholeStaticTest.main(BlackholeStaticTest.java:79)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

      ---

      compiler/blackhole/BlackholeInstanceTest.java#c2-no-coops
      Linux-aarch64-debug

      java.lang.IllegalStateException: Should not have been entered: bh_i_boolean_0
      at compiler.blackhole.BlackholeTarget.shouldNotBeEntered(BlackholeTarget.java:51)
      at compiler.blackhole.BlackholeInstanceTest.runTries(BlackholeInstanceTest.java:118)
      at compiler.blackhole.BlackholeInstanceTest.main(BlackholeInstanceTest.java:79)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

      ---

      Other failure variants:

      java.lang.IllegalStateException: Should not have been entered: bh_i_Object_0
      at compiler.blackhole.BlackholeTarget.shouldNotBeEntered(BlackholeTarget.java:51)
      at compiler.blackhole.BlackholeInstanceTest.runTries(BlackholeInstanceTest.java:118)
      at compiler.blackhole.BlackholeInstanceTest.main(BlackholeInstanceTest.java:87)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

      java.lang.IllegalStateException: Should not have been entered: bh_i_long_2
      at compiler.blackhole.BlackholeTarget.shouldNotBeEntered(BlackholeTarget.java:51)
      at compiler.blackhole.BlackholeInstanceTest.runTries(BlackholeInstanceTest.java:118)
      at compiler.blackhole.BlackholeInstanceTest.main(BlackholeInstanceTest.java:105)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)


      Failures seen on Windows. macOS and Linux.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: