Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8264644

Add PrintClassLoaderDataGraphAtExit to print the detailed CLD graph

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • 17
    • hotspot
    • b18

    Description

      Add -XX:+PrintClassLoaderDataGraphAtExit to print the complete ClassLoaderData for debugging purpose:


      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

      Attachments

        Issue Links

          Activity

            People

              yyang Yi Yang
              yyang Yi Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: