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

David Holmes dholmes at openjdk.java.net
Fri Dec 3 05:12:16 UTC 2021


On Thu, 2 Dec 2021 23:32:09 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> 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

Looks good and trivial.

Thanks,
David

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

Marked as reviewed by dholmes (Reviewer).

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


More information about the hotspot-runtime-dev mailing list