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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b21
    • Introduced In Version:
      12
    • Resolved In Build:
      b22
    • CPU:
      generic
    • OS:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved: