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

jfr/event/allocation tests fail with release VMs after JDK-8281318 due to lack of -XX:+UnlockDiagnosticVMOptions

    XMLWordPrintable

Details

    • jfr
    • b10

    Backports

      Description

        The following three tests fail with release VMs.

        jdk/jfr/event/allocation/TestObjectAllocationInNewTLABEvent.java
        jdk/jfr/event/allocation/TestObjectAllocationOutsideTLABEvent.java
        jdk/jfr/event/allocation/TestObjectAllocationSampleEventThrottling.java

        ```
        STDERR:
        Error: VM option 'WhiteBoxAPI' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
        Error: The unlock option must precede 'WhiteBoxAPI'.
        Error: Could not create the Java Virtual Machine.
        Error: A fatal exception has occurred. Program will exit.
        ```

        Attachments

          Issue Links

            Activity

              People

                jiefu Jie Fu
                jiefu Jie Fu
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: