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
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
-------------
Commit messages:
- 8281638: jfr/event/allocation tests fail with release VMs after JDK-8281318 due to lack of -XX:+UnlockDiagnosticVMOptions
Changes: https://git.openjdk.java.net/jdk/pull/7441/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7441&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8281638
Stats: 8 lines in 3 files changed: 0 ins; 0 del; 8 mod
Patch: https://git.openjdk.java.net/jdk/pull/7441.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7441/head:pull/7441
PR: https://git.openjdk.java.net/jdk/pull/7441
More information about the hotspot-jfr-dev
mailing list