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

compiler/uncommontrap/TestDeoptOOM.java#id1 failed with "Error: VM option 'LogCompilation' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions."

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3
    • Resolution: Duplicate
    • 18
    • None
    • hotspot
    • x86_64
    • linux

    Description

      The following test failed in the JDK18 CI:

      compiler/uncommontrap/TestDeoptOOM.java#id1

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/846)----------
      command: main -XX:-BackgroundCompilation -Xmx128M -XX:+IgnoreUnrecognizedVMOptions -XX:+VerifyStack -XX:CompileCommand=exclude,compiler.uncommontrap.TestDeoptOOM::main -XX:CompileCommand=exclude,compiler.uncommontrap.TestDeoptOOM::m9_1 -XX:+UseZGC -XX:+LogCompilation -XX:+PrintDeoptimizationDetails -XX:+TraceDeoptimization -XX:+Verbose compiler.uncommontrap.TestDeoptOOM
      reason: User specified action: run main/othervm -XX:-BackgroundCompilation -Xmx128M -XX:+IgnoreUnrecognizedVMOptions -XX:+VerifyStack -XX:CompileCommand=exclude,compiler.uncommontrap.TestDeoptOOM::main -XX:CompileCommand=exclude,compiler.uncommontrap.TestDeoptOOM::m9_1 -XX:+UseZGC -XX:+LogCompilation -XX:+PrintDeoptimizationDetails -XX:+TraceDeoptimization -XX:+Verbose compiler.uncommontrap.TestDeoptOOM
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 0.005
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(4/268)----------
      Error: VM option 'LogCompilation' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
      Error: The unlock option must precede 'LogCompilation'.
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      ----------rerun:(43/6044)*----------

      Attachments

        Issue Links

          Activity

            People

              coleenp Coleen Phillimore
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: