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

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

    XMLWordPrintable

Details

    • b21
    • 12
    • b22
    • generic
    • linux

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: