分析基于hibernate 4.3.1.final
+`Spring 4'的tomcat应用程序的堆转储
org.hibernate.internal.SessionFactoryImpl
它似乎与MetaModel
(可能元模型与@embeddedId
)相关
有人有经验吗?
谢谢,
阿龙
来自转储的一些信息:
班级名称|浅堆|保留堆
org.hibernate.internal.SessionFactoryImpl @ 0x7839de890
136 8,109,256
\factory org.hibernate.type.TypeFactory$TypeScopeImpl @ 0x7839de880
16 16
.\typeScope org.hibernate.type.ComponentType @ 0x783d8c760
56 616
..\hibernateType org.hibernate.jpa.internal.metamodel.EmbeddableTypeImpl @ 0x783d8c3f8
48 1,216
...\attributeType org.hibernate.jpa.internal.metamodel.SingularAttributeImpl$Identifier @ 0x783d8c338
40 40
....\id class org.jpp.domain.security.ProjectPermission_ @ 0x784134cf8
8 8
.....\[3985] java.lang.Object[10240] @ 0x784ecd118
40,976 1,087,264
......\elementData java.util.Vector @ 0x7832e2680
32 1,087,296
.......\classes org.apache.catalina.loader.WebappClassLoader @ 0x7832c76c0
184 1,454,824
........+<classloader> class com.mysql.jdbc.AbandonedConnectionCleanupThread @ 0x783bbda40