Integrated: 8281638: jfr/event/allocation tests fail with release VMs after JDK-8281318 due to lack of -XX:+UnlockDiagnosticVMOptions
Jie Fu
jiefu at openjdk.java.net
Fri Feb 11 11:44:25 UTC 2022
On Fri, 11 Feb 2022 11:29:21 GMT, Jie Fu <jiefu at openjdk.org> wrote:
> Hi all,
>
> 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
>
>
> The failing reason is
>
> STDERR:
> Error: VM option 'WhiteBoxAPI' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
> Error: The unlock option must precede 'WhiteBoxAPI'.
>
>
> Fix:
> 1) Add -XX:+UnlockDiagnosticVMOptions
> 2) Update the copyright year
>
> Testing:
> - Affected tests on Linux/x64 with {release, fastdebug}
>
> Thanks.
> Best regards,
> Jie
This pull request has now been integrated.
Changeset: d254cf28
Author: Jie Fu <jiefu at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/d254cf28c5e72bd9b8de863b831015237640ca25
Stats: 8 lines in 3 files changed: 0 ins; 0 del; 8 mod
8281638: jfr/event/allocation tests fail with release VMs after JDK-8281318 due to lack of -XX:+UnlockDiagnosticVMOptions
Reviewed-by: shade
-------------
PR: https://git.openjdk.java.net/jdk/pull/7441
More information about the hotspot-jfr-dev
mailing list