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

compiler/arguments/TestScavengeRootsInCode.java fails because of missing UnlockDiagnosticVMOptions

XMLWordPrintable

    • b21
    • 12
    • b22
    • generic
    • linux

        openjdk version "12-ea" 2019-03-19
        OpenJDK Runtime Environment (build 12-ea+21)
        OpenJDK 64-Bit Server VM (build 12-ea+21, mixed mode, sharing)

        javatestOS=Linux 3.8.13-118.24.2.el7uek.x86_64 (amd64)

        Error log:
        ----------System.err:(4/278)----------
        Error: VM option 'ScavengeRootsInCode' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
        Error: The unlock option must precede 'ScavengeRootsInCode'.
        Error: Could not create the Java Virtual Machine.
        Error: A fatal exception has occurred. Program will exit.

              thartmann Tobias Hartmann
              akolarkunnu Abdul Kolarkunnu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: