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

[TESTBUG] runtime/NMT/NMTWithCDS.java fails with product builds due to missing UnlockDiagnosticVMOptions

XMLWordPrintable

    • b30
    • Not verified

        Command line: [/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/product/main_baseline/linux-i586/bin/java -XX:SharedArchiveFile=./sample.jsa -Xshare:dump ]
        ----------System.err:(30/1424)----------
         stdout: [];
         stderr: [Error: VM option 'SharedArchiveFile' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
        Error: Could not create the Java Virtual Machine.
        Error: A fatal exception has occurred. Program will exit.
        ]
         exitValue = 1

              ctornqvi Christian Tornqvist
              ctornqvi Christian Tornqvist
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: