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

runtime/SharedArchiveFile/CdsSameObjectAlignment.java RuntimeException: Expected to get exit value of [0]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 9
    • 9
    • hotspot

      ----------System.err:(57/3071)----------
       stdout: [Allocated shared space: 37879808 bytes at 0x0000000800000000
      Loading classes to share ...
      Preload Error: Cannot find javax/swing/JComponent$2
      Preload Error: Cannot find javax/swing/RepaintManager$1$1
      Preload Error: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue
      Preload Error: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue$1
      Preload Error: Cannot find javax/swing/text/AbstractDocument$InsertStringResult
      Preload Error: Cannot find sun/awt/EventQueueDelegate
      Preload Error: Cannot find sun/awt/WindowClosingListener
      Preload Error: Cannot find sun/awt/WindowClosingSupport
      Preload Error: Cannot find sun/awt/windows/WToolkit$3$1
      Preload Error: Cannot find sun/java2d/Disposer$2
      Preload Error: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1
      Preload Error: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1$1
      Preload Error: Cannot find sun/java2d/pipe/RenderingEngine$1
      Preload Error: Cannot find sun/swing/SwingLazyValue
      Preload Error: Cannot find sun/swing/SwingLazyValue$1
      Preload Error: Cannot find sun/swing/SwingUtilities2$2
      Loading classes to share: done.
      Rewriting and linking classes ...
      Rewriting and linking classes: done
      Number of classes 2376
          instance classes = 2362
          obj array classes = 6
          type array classes = 8
      Calculating fingerprints ... done.
      Removing unshareable information ... done.
      ro space: 8797496 [ 40.1% of total] out of 16777216 bytes [52.4% used] at 0x0000000800000000
      rw space: 10786248 [ 49.2% of total] out of 16777216 bytes [64.3% used] at 0x0000000801000000
      md space: 2300832 [ 10.5% of total] out of 4194304 bytes [54.9% used] at 0x0000000802000000
      mc space: 34053 [ 0.2% of total] out of 131072 bytes [26.0% used] at 0x0000000802400000
      total : 21918629 [100.0% of total] out of 37879808 bytes [57.9% used]
      Error occurred during initialization of VM
      Unable to use shared archive.
      ];
       stderr: [An error has occurred while processing the shared archive file.
      Unable to create shared archive file ./sample.jsa.
      ]
       exitValue = 1

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

          at com.oracle.java.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:296)
          at CdsSameObjectAlignment.dumpAndLoadSharedArchive(CdsSameObjectAlignment.java:65)
          at CdsSameObjectAlignment.main(CdsSameObjectAlignment.java:44)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:484)
          at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
          at java.lang.Thread.run(Thread.java:745)

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

      JavaTest Message: shutting down test

            mseledtsov Mikhailo Seledtsov
            sjiang Shanliang Jiang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: