On jdk1.8.0_411 serviceability agent using hsdb >classes command .Is there a way to print the size of the class.
Would be useful in scenarios where big classes are being loaded to the Metaspace/Compressed class space.
For e.g Classes dumped are as below ,No sizes of classes
classes.txt
sun/reflect/GeneratedMethodAccessor1132 @0x00000007ff398c28
org/python/antlr/ast/alias$alias___init___exposer @0x00000007ff258620
org/python/compiler/ScopesCompiler @0x00000007ff246860
org/python/antlr/ast/Interactive @0x00000007ff1c8d80
org/python/core/PyByteArray$bytearray_splitlines_exposer @0x00000007ff17c628
org/python/core/PySuper$super___get___exposer @0x00000007ff13f878
org/python/core/PyComplex$exposed___new__ @0x00000007ff0f2e30
org/python/core/PyBeanProperty @0x00000007fefee828
oracle/security/am/pbl/util/PBLUtil$ConfigListener @0x00000007fee8db78
com/google/gson/internal/bind/TypeAdapters$EnumTypeAdapter @0x00000007fee58500
com/fasterxml/jackson/jaxrs/cfg/ObjectWriterInjector @0x00000007fec42700
weblogic/diagnostics/timerservice/WLDFTimerServiceImpl$TimerInfoInternal$1 @0x00000007fe9bd080
Would be useful in scenarios where big classes are being loaded to the Metaspace/Compressed class space.
For e.g Classes dumped are as below ,No sizes of classes
classes.txt
sun/reflect/GeneratedMethodAccessor1132 @0x00000007ff398c28
org/python/antlr/ast/alias$alias___init___exposer @0x00000007ff258620
org/python/compiler/ScopesCompiler @0x00000007ff246860
org/python/antlr/ast/Interactive @0x00000007ff1c8d80
org/python/core/PyByteArray$bytearray_splitlines_exposer @0x00000007ff17c628
org/python/core/PySuper$super___get___exposer @0x00000007ff13f878
org/python/core/PyComplex$exposed___new__ @0x00000007ff0f2e30
org/python/core/PyBeanProperty @0x00000007fefee828
oracle/security/am/pbl/util/PBLUtil$ConfigListener @0x00000007fee8db78
com/google/gson/internal/bind/TypeAdapters$EnumTypeAdapter @0x00000007fee58500
com/fasterxml/jackson/jaxrs/cfg/ObjectWriterInjector @0x00000007fec42700
weblogic/diagnostics/timerservice/WLDFTimerServiceImpl$TimerInfoInternal$1 @0x00000007fe9bd080