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

SA jmap -clstats does not include all the array fields while computing the instance klass size.

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 9, 10, 11
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      SA jmap -clstats does not include all the array fields while computing the instance klass size.

      computeSize() in share/classes/sun/jvm/hotspot/tools/ClassLoaderStats.java does not include all the arrays while computing the instance klass size. For eg. the default methods array is missed out

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jgeorge Jini George
                Reporter:
                jgeorge Jini George
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: