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

runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java fails

XMLWordPrintable

    • b117
    • x86_64
    • windows_7

       fails with jdk1.8.0b117, jdk1.7.0_45b18. passes on jdk1.8.0b116

      ----------System.out:(3/538)*----------
      Command line: [C:\\local\\aurora\\CommonData\\jdk\\bin\\java.exe -XX:+UnlockDiagnosticVMOptions -XX:SharedArchiveFile=./sample.jsa -Xshare:dump -XX:ObjectAlignmentInBytes=16 ]
      Command line: [C:\\local\\aurora\\CommonData\\jdk\\bin\\java.exe -XX:+UnlockDiagnosticVMOptions -XX:SharedArchiveFile=./sample.jsa -Xshare:on -XX:ObjectAlignmentInBytes=64 -version ]
      Command line: [C:\\local\\aurora\\CommonData\\jdk\\bin\\java.exe -XX:+UnlockDiagnosticVMOptions -XX:SharedArchiveFile=./sample.jsa -Xshare:dump -XX:ObjectAlignmentInBytes=64 ]
      ----------System.err:(21/1076)----------
       stdout: [Loading classes to share ... ];
       stderr: []
       exitValue = -1073741819

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

      at com.oracle.java.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:296)
      at CdsDifferentObjectAlignment.createAndLoadSharedArchive(CdsDifferentObjectAlignment.java:68)
      at CdsDifferentObjectAlignment.main(CdsDifferentObjectAlignment.java:46)
      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:483)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:744)

      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]
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

            Unassigned Unassigned
            asakharu Aleksandr Sakharuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: