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

Test compiler/codecache/CheckReservedInitialCodeCacheSizeArgOrder.java fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None

      Description

      The test which checks that the order in which ReversedCodeCacheSize and InitialCodeCacheSize are passed to the VM is irrelevant (compiler/codecache/CheckReservedInitialCodeCacheSizeArgOrder.java) fails:

      ----------System.out:(2/1144)----------
      Command line: [/export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/java -d64 -cp /scratch/export/home/aginfra/sandbox/results/workDir/classes/1/compiler/codecache:/scratch/export/home/aginfra/CommonData/j2se_jdk/hotspot/test/compiler/codecache:/scratch/export/home/aginfra/sandbox/results/workDir/classes/1/test/lib:/scratch/export/home/aginfra/CommonData/j2se_jdk/test/lib:/scratch/export/home/aginfra/CommonData/jtreg_dir/lib/javatest.jar:/scratch/export/home/aginfra/CommonData/jtreg_dir/lib/jtreg.jar -XX:InitialCodeCacheSize=4m -XX:ReservedCodeCacheSize=8m -version ]
      Command line: [/export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/java -d64 -cp /scratch/export/home/aginfra/sandbox/results/workDir/classes/1/compiler/codecache:/scratch/export/home/aginfra/CommonData/j2se_jdk/hotspot/test/compiler/codecache:/scratch/export/home/aginfra/sandbox/results/workDir/classes/1/test/lib:/scratch/export/home/aginfra/CommonData/j2se_jdk/test/lib:/scratch/export/home/aginfra/CommonData/jtreg_dir/lib/javatest.jar:/scratch/export/home/aginfra/CommonData/jtreg_dir/lib/jtreg.jar -XX:ReservedCodeCacheSize=8m -XX:InitialCodeCacheSize=4m -version ]
      ----------System.err:(13/850)----------
      java.lang.RuntimeException: Test failed
      at compiler.codecache.CheckReservedInitialCodeCacheSizeArgOrder.main(CheckReservedInitialCodeCacheSizeArgOrder.java:54)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:547)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                thartmann Tobias Hartmann
                Reporter:
                dfazunen Dmitry Fazunenko (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: