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

SpecJVM2008 failures on JDK 9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 9.0.4
    • hotspot

      The upgrade from Java 8 to Java 9 seems to have broken specJVM2008 on Solaris 11.4 sparc. https://www.spec.org/jvm2008/

      Here's the failure to run the benchmark under Java 9:

      # /usr/jdk/jdk-9.0.4/bin/java -version
      java version "9.0.4"
      Java(TM) SE Runtime Environment (build 9.0.4+11)
      Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
      # /usr/jdk/jdk-9.0.4/bin/java -jar SPECjvm2008.jar -icsv

      Iteration 1 (1 operation) begins: Fri Mar 09 15:34:40 UTC 2018
      Iteration 1 (1 operation) ends: Fri Mar 09 15:34:40 UTC 2018
      Iteration 1 (1 operation) result: FAILED

      Errors in benchmark: check
        [iter=1] Interrupted when joining benchmark thread 0: null
        [iter=1] java.lang.InterruptedException: null
      java.base/java.lang.Object.wait(Native Method)
      java.base/java.lang.Thread.join(Thread.java:1353)
      java.base/java.lang.Thread.join(Thread.java:1427)
      spec.harness.ProgramRunner.runIteration(ProgramRunner.java:503)
      spec.harness.ProgramRunner.runBenchmark(ProgramRunner.java:348)
      spec.harness.ProgramRunner.run(ProgramRunner.java:98)

      <snip>
          Received output:
            Compiler version test: failed
            testIf: OK
            testArray: OK
      </snip>


      On Java 8, this doesn't happen:
      # /usr/jdk/jdk1.8.0_162/bin/java -version
      java version "1.8.0_162"
      Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
      Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)
      # /usr/jdk/jdk1.8.0_162/bin/java -jar SPECjvm2008.jar -icsv

      SPECjvm2008 Base
        Properties file: none
        Benchmarks: startup.helloworld startup.compiler.compiler
      startup.compiler.sunflow startup.compress startup.crypto.aes
      startup.crypto.rsa startup.crypto.signverify startup.mpegaudio
      startup.scimark.fft startup.scimark.lu startup.scimark.monte_carlo
      startup.scimark.sor startup.scimark.sparse startup.serial startup.sunflow
      startup.xml.transform startup.xml.validation compiler.compiler
      compiler.sunflow compress crypto.aes crypto.rsa crypto.signverify derby
      mpegaudio scimark.fft.large scimark.lu.large scimark.sor.large
      scimark.sparse.large scimark.fft.small scimark.lu.small scimark.sor.small
      scimark.sparse.small scimark.monte_carlo serial sunflow xml.transform
      xml.validation

        WARNING: Run will not be compliant.
        Property specjvm.run.checksum.validation must be true for publication.


      --- --- --- --- --- --- --- --- ---

        Benchmark: check
        Run mode: static run
        Test type: functional
        Threads: 1
        Iterations: 1
        Run length: 1 operation

      Iteration 1 (1 operation) begins: Fri Mar 09 15:37:43 UTC 2018
      Iteration 1 (1 operation) ends: Fri Mar 09 15:37:43 UTC 2018
      Iteration 1 (1 operation) result: PASSED

      Valid run!

      .....

            dbuck David Buck
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: