RFR: 8277101: jcmd VM.cds dynamic_dump should not regenerate holder classes
Calvin Cheung
ccheung at openjdk.java.net
Mon Jan 31 19:21:12 UTC 2022
On Fri, 28 Jan 2022 02:40:07 GMT, Yumin Qi <minqi at openjdk.org> wrote:
> Hi, Please review
>
> When using jcmd to do dynamic dump, lambda MethodHandle Holder classes are regenerated and added to system dictionary, which may cause problem since after the dump, the process continues and there may cause unexpected result.
>
> Fix to not regenerate method handle holder classes if the call is from jcmd.
>
> Tests: tier1,tier4
>
> Thanks
> Yumin
Marked as reviewed by ccheung (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/7256
More information about the hotspot-runtime-dev
mailing list