what the classname like [C [B [[C is,when i exec “jmap -histo:live 4984”?

时光总嘲笑我的痴心妄想 提交于 2019-12-24 19:55:45

问题


And is always has most instances, just like this

  enter codnum     #instances         #bytes  class name
----------------------------------------------
   1:         82828       10033408  [C
   2:         39920        6012864  [B
   3:         18752        1950208  org.springframework.boot.loader.jar.JarEntry
   4:         81007        1944168  java.lang.String
   5:         16542        1455696  java.lang.reflect.Method
   6:         37512        1200384  org.springframework.boot.loader.util.AsciiBytes
   7:         18752        1050112  org.springframework.boot.loader.jar.JarEntryData

回答1:


already has answer in comments

These are JVM signatures for char[], byte[] and char[][] classes respectively. – apangin docs.oracle.com/javase/8/docs/api/java/lang/… – Holger



来源:https://stackoverflow.com/questions/51079633/what-the-classname-like-c-b-c-is-when-i-exec-jmap-histolive-4984

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!