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

SA: live classloaders reported as dead in permstat

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 9
    • 7u51
    • hotspot
    • svc
    • generic

      >
      > They got histo:live and they got a heap dump afterwards.
      >
      > https://mos-cores.us.oracle.com/web/cores/3-8631459001/tds-2014-03-31/14655739_jmap_devwin_justinwhite_20140327.zip/3_undeploy_histolive.txt
      > The jhisto shows 1666 sun.reflect.DelegatingClassLoader
      >
      > PermStat shows all 1666 dead.
      > $ grep "sun/reflect/DelegatingClassLoader" /cores/3-8631459001/tds-2014-03-31/14655739_jmap_devwin_justinwhite_20140327.zip/3_undeploy_permstat.txt | grep -c dead
      > 1666
      >
      > but the jhat on the dump
      > select [ o, referrers(o) ] from sun.reflect.DelegatingClassLoader o
      > shows 2 referrers to each sun.reflect.DelegatingClassLoader.
      >
      It is quite possible that there is a bug in PermStat and it is reporting these classloaders as dead which are actually alive. Could you please file a JBS bug for this on SA/PermStat and we can investigate this further.

            poonam Poonam Bajaj Parhar
            lkchow Lawrence Chow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: