RFR: 8278174: runtime/cds/appcds/LambdaWithJavaAgent.java fails with release VMs

Jie Fu jiefu at openjdk.java.net
Thu Dec 2 23:40:40 UTC 2021


Hi all,

runtime/cds/appcds/LambdaWithJavaAgent.java fails with release VMs.
This is because VM option 'AllowArchivingWithJavaAgent' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
So let's add -XX:+UnlockDiagnosticVMOptions to fix it.

Thanks.
Best regards,
Jie

-------------

Commit messages:
 - 8278174: runtime/cds/appcds/LambdaWithJavaAgent.java fails with release VMs

Changes: https://git.openjdk.java.net/jdk/pull/6684/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6684&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8278174
  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6684.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6684/head:pull/6684

PR: https://git.openjdk.java.net/jdk/pull/6684


More information about the hotspot-runtime-dev mailing list