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

gc/g1/Test2GbHeap.java fails with java.lang.RuntimeException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • gc
    • b122
    • x86
    • linux

      Affected tests:
      gc/g1/Test2GbHeap.java

      Failure:
      ----------System.err:(22/1085)----------
       stdout: [Error occurred during initialization of VM
      Could not reserve enough space for 2097152KB object heap
      ];
       stderr: []
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.test.lib.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:366)
      at Test2GbHeap.main(Test2GbHeap.java:54)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-internal/Thread.java:843)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
      ----------rerun:(41/2681)*----------

            mchernov Michail Chernov
            bharadwaj Bharadwaj Yadavalli (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: