RFR: 8277101: jcmd VM.cds dynamic_dump should not regenerate holder classes
Yumin Qi
minqi at openjdk.java.net
Mon Jan 31 19:27:13 UTC 2022
On Sat, 29 Jan 2022 05:57:37 GMT, Ioi Lam <iklam 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
>
> LGTM
@iklam @calvinccheung Thanks for review!
-------------
PR: https://git.openjdk.java.net/jdk/pull/7256
More information about the hotspot-runtime-dev
mailing list