RFR: 8264644: Add PrintClassLoaderDataGraphAtExit to print the detailed CLD graph [v3]

David Holmes dholmes at openjdk.java.net
Wed Apr 7 05:13:37 UTC 2021


On Tue, 6 Apr 2021 14:54:58 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Yi Yang has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - add CLDG_lock
>>  - use PTR_FORMAT
>
> src/hotspot/share/classfile/classLoaderData.cpp line 978:
> 
>> 976:   if (_jmethod_ids != NULL) {
>> 977:     out->print   (" - jmethod count       ");
>> 978:     Method::print_jmethod_ids_counts(this, out);
> 
> Yes, this is good. It was interesting at one point (to me) how many jmethodIds were in each CLD.

Okay by me too. But it should be count not counts.

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

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


More information about the hotspot-dev mailing list