jubincn

导航

2013年8月5日 #

Java堆初始大小的建议值

摘要: 摘自:《Java Performance》第三章Initial Heap Space Size ConfigurationThis section describes how to use live data size calculations to determine an initialJava heap size. Figure 7-3 shows the fields that identify an application’s live datasize. It is wise to compute an average of the Java heap occupancy and 阅读全文

posted @ 2013-08-05 19:17 jubincn 阅读(1115) 评论(0) 推荐(0)

为什么在进行Full GC之前最好进行一次Minor GC

摘要: 摘自:《Java Performance》第三章为什么在进行Full GC之前最好进行一次Minor GC?Garbagecollecting the young generation space prior to garbage collecting the old generationspace usually results in less work for the garbage collector and more objects beinggarbage collected since objects in the old generation space may be holdi 阅读全文

posted @ 2013-08-05 19:06 jubincn 阅读(336) 评论(0) 推荐(2)

JVM中存储类信息的三个表格

摘要: 摘自:《Java Performance》第三章Internal Class Loading DataThe HotSpot VM maintains three hash tables to track class loading. TheSystemDictionary contains loaded classes, which maps a class name/class loader pair toa klassOop. The SystemDictionary contains both class name/initiating loaderpairs and class na 阅读全文

posted @ 2013-08-05 18:52 jubincn 阅读(207) 评论(0) 推荐(0)

JVM Class Loading过程

摘要: 转自:《Java Performance》第三章VM Class LoadingThe Hotspot VM supports class loading as defined by the Java Language Specification,Third Edition, [2] the Java Virtual Machine Specification, Second Edition,[1] and as amended by the updated Java Virtual Machine Specification,Chapter 5, Loading, Linking and I 阅读全文

posted @ 2013-08-05 18:12 jubincn 阅读(311) 评论(0) 推荐(0)

HotSpotVM创建过程(JNI_CreateJavaVM)详解

摘要: 来自:《Java Performance》第3章 JVM OverviewThe HotSpot VM’s implementation of the JNI_CreateJavaVM method performs thefollowing sequence of operations when it is called during the launch of the HotSpot VM.1. Ensure no two threads call this method at the same time and only one HotSpot VMinstance is created 阅读全文

posted @ 2013-08-05 16:18 jubincn 阅读(357) 评论(0) 推荐(0)