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

gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java fails

XMLWordPrintable

    • gc

      After fixing compilation for JDK-8026186 the test gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java does not pass any more with the following errors:

      command: main -XX:CompressedClassSpaceSize=50m CompressedClassSpaceSizeInJmapHeap
      reason: User specified action: run main/othervm -XX:CompressedClassSpaceSize=50m CompressedClassSpaceSizeInJmapHeap
      elapsed time (seconds): 3.611
      STDOUT:
      STDERR:
       stdout: [];
       stderr: []
       exitValue = -1

      java.lang.RuntimeException: 'CompressedClassSpaceSize = 52428800 (50.0MB)' missing from stdout/stderr

      at com.oracle.java.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:80)
      at CompressedClassSpaceSizeInJmapHeap.main(CompressedClassSpaceSizeInJmapHeap.java:56)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:724)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: 'CompressedClassSpaceSize = 52428800 (50.0MB)' missing from stdout/stderr

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 'CompressedClassSpaceSize = 52428800 (50.0MB)' missing from stdout/stderr

      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'CompressedClassSpaceSize = 52428800 (50.0MB)' missing from stdout/stderr
      --------------------------------------------------
      Test results: failed: 1

            Unassigned Unassigned
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: