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

Yi Yang yyang at openjdk.java.net
Mon Apr 12 06:48:22 UTC 2021


> Trivial chanage to make debugging happy, now cld->print() would be:
> 
> ClassLoaderData(0x00007ff17432b670)
>  - name                'platform'
>  - holder              WeakHandle: 0x00000007fef56678
>  - class loader        0x7ff17432b828
>  - metaspace           0x7ff17468a0b0
>  - unloading           false
>  - class mirror holder false
>  - modified oops       true
>  - keep alive          0
>  - claim               strong
>  - handles             43
>  - dependency count    0
>  - klasses             {java.sql.SQLFeatureNotSupportedException,java.sql.SQLNonTransientException,java.sql.SQLException,sun.util.resources.provider.NonBaseLocaleDataMetaInfo,org.ietf.jgss.GSSException,javax.sql.DataSource,java.sql.Wrapper,javax.sql.CommonDataSource,java.sql.Time,java.sql.Date,java.sql.Timestamp,sun.util.resources.cldr.provider.CLDRLocaleDataMetaInfo, }
>  - packages            0x7ff17432bc20
>  - module              0x7ff17432c520
>  - unnamed module      0x7ff17432c3d0
>  - dictionary          0x7ff17432c470
>  - deallocate list     0x7ff0a4023bd0

Yi Yang has updated the pull request incrementally with one additional commit since the last revision:

  newline

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3323/files
  - new: https://git.openjdk.java.net/jdk/pull/3323/files/1eb6766b..070ca1a5

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3323&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3323&range=03-04

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3323.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3323/head:pull/3323

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


More information about the hotspot-dev mailing list