
JVM
超新星X
大丈夫抱经世之才,岂可空老于林泉之下
展开
-
【JVM】上帝视角看JVM内存模型,分而治之论各模块详情
1. 上帝视角【树看JVM】【图看JVM】2. 分而治之 2.1 堆区 构成:堆区由新生代和老年代组成,新生代中包含伊甸区(Eden)、幸存者区(survivor from 、survivor to)和老年代。 GC:当创建新的对象时,对象首先会被放入Eden和survivor from中,每经历一次GC存活下来的对象,年龄都会加1。在进行了第一次GC后,在Eden中仍然存活的对象,将...原创 2018-06-17 18:07:54 · 730 阅读 · 0 评论 -
【JVM】TroubleShooting之内存溢出异常(OOM)与调优
1. OOM概述 If your application's execution time becomes longer and longer, or if the operating system seems to be performing slower and slower, this could be an indication of a memory leak. In other ...原创 2018-06-18 14:51:29 · 453 阅读 · 0 评论