JVM
文章平均质量分 64
yxc135
此用户很懒,没有任何简介
展开
-
CMS工作原理
Reference: http://www.insightfullogic.com/blog/2013/may/7/garbage-collection-java-3/ http://blog.griddynamics.com/2011/06/understanding-gc-pauses-in-jvm-hotspots_02.html转载 2013-09-29 21:12:15 · 6327 阅读 · 0 评论 -
Standard Compilation & OSR
When the JVM executes a Java method, it checks the sum of those two counters and decides whether or not the method is eligible for compilation. If it is, the method is queued for compilation (see Comp转载 2015-09-05 14:05:48 · 852 阅读 · 0 评论 -
Sizing the Java heap
Size your Java heap so that your application runs with a minimum heap usage of 40%, and a maximum heap usage of 70%.IntroductionAn incorrectly sized Java heap can lead to OutOfMemoryError except转载 2013-09-27 16:26:40 · 1172 阅读 · 0 评论 -
Class Loader
Reprint:http://www.javaworld.com/jw-10-1996/jw-10-indepth.html?page=1The class loader concept, one of the cornerstones of the Java virtual machine, describes the behavior of converting a named c转载 2013-09-28 11:44:29 · 1194 阅读 · 0 评论 -
Why can't 32-bit Windows access 4GB of RAM
Reprint:http://www.pcworld.com/article/2013751/why-cant-32-bit-windows-access-4gb-of-ram.htmlEvery byte of RAM requires its own address, and the processor limits the length of those addresses. A转载 2013-09-28 09:55:31 · 981 阅读 · 0 评论 -
64位系统的虚存使用
In a 64-bit os, the maximum memory space for a single process is 2^48 bits. (More is theoretically possible, but no chipset on the market actually decodes more than 48 bits of address.)Canonic转载 2013-09-27 19:38:50 · 1159 阅读 · 0 评论 -
Differences Between 32-bit and 64-bit Systems
Reprint:http://superuser.com/questions/56540/32-bit-vs-64-bit-systemsNote: These answers apply to standard PC CPUs (Intel and AMD) and Windows (as typically configured for end-users). Other转载 2013-09-28 09:58:08 · 1206 阅读 · 0 评论 -
Shallow vs. Retained Heap
Shallow heap is the memory consumed by one object. An object needs 32 or 64 bits (depending on the OS architecture) per reference, 4 bytes per Integer, 8 bytes per Long, etc. Depending on the heap dum转载 2013-09-26 20:47:12 · 1236 阅读 · 0 评论 -
新生代、老年代
1. Java堆中各代分布:图1:Java堆中各代分布Young:主要是用来存放新生的对象。Old:主要存放应用程序中生命周期长的内存对象。Permanent:是指内存的永久保存区域,主要存放Class和Meta的信息,Class在被 Load的时候被放入PermGen space区域. 它和和存放Instance的Heap区域不同,GC(Garbage Collection)转载 2013-09-28 17:06:04 · 1259 阅读 · 0 评论 -
GC日志分析
通过 -XX:+PrintGCDetails 启用日志GC (minor )日志Full GC 日志原创 2013-09-28 17:12:01 · 21845 阅读 · 3 评论 -
Distributed garbage collection used in RMI
The RMI subsystem implements reference counting based Distributed Garbage Collection (DGC) to provide automatic memory management facilities for remote server objects.When the client creates (unmars转载 2013-10-02 20:43:03 · 869 阅读 · 0 评论 -
JVM -XX -X Options
-XXaggressive-XX:AllocChunkSize-XX:+|-CheckJNICalls-XX:+|-CheckStacks-XXcompaction-XXcompactRatio (deprecated)-XXcompactSetLimit (deprecated)-XXcompactSetLimitPerObject (deprecated)-XX转载 2013-09-26 21:08:17 · 4796 阅读 · 0 评论 -
TLAB ( Thread Local Allocation Buffers )
Reprint:http://robsjava.blogspot.com/2013/03/what-are-thread-local-allocation-buffers.htmlWhen new objects are allocated on the heap, if TLAB ( Thread Local Allocation Buffers ) are enabled, the o转载 2013-09-30 16:40:30 · 1427 阅读 · 0 评论 -
为什么新生代有两个survivor?
StackOverflow上面给出的解释是:The reason for the HotSpot JVM's two survivor spaces is to reduce the need to deal with fragmentation. New objects are allocated in eden space. All well and good. When that原创 2013-09-30 16:36:17 · 3352 阅读 · 0 评论