1. Generations for Garbage Collection info:
Java objects are created in Heap and Heap is divided into three parts, these are called as Young generation, Tenured or Old Generation and Perm Area.
1. young Generation is further divided into three parts known as Eden space, Survivor 1 and Survivor 2 space. When an object first created in heap its gets created in new generation inside Eden space and after subsequent Minor Garbage collection if object survives its gets moved to survivor 1 and then Survivor 2
2. before Major Garbage collection moved that object to Old or tenured generation.
3. Permanent generation of Heap is somewhat special and it is used to store Meta data related to classes and method in JVM, it also hosts String pool provided by JVM
2. full GC
a single garbage collector thread that runs concurrently with the application threads with the goal of completing the collection of the tenured generation before it becomes full. In normal operation, the concurrent garbage collector is able to do most of its work with the application threads still running, so only brief pauses are seen by the application threads. if the concurrent garbage collector is unable to finish before the tenured generation fill up, the application is paused with all the application threads stopped. Such Collections with the application stopped are referred as full garbage collections or full GC
http://javarevisited.blogspot.hk/2011/04/garbage-collection-in-java.html
相关推荐
Java JVMJava JVMJava JVM
JAVA JVM原理资料,最新。很不错,看看吧。
下载 java JVM INSTR 反编译下载 java JVM INSTR 反编译
性能测试,线程的 dump 看到线程的 死锁,等待 运行状态
Java JVM Instruction Set - Very useful for cracking/patching java classes
Java助力需要jvm学习及优化与性能瓶颈分析参考
java jvm 参数 -Xms -Xmx -Xmn -Xss -
Java jvm虚拟机.zip
jvm瓶颈定位 java jvm 学习
JAVA JVM性能调优监控工具详解
javajvm-xxx.jar:JVM的实现,本质上是一个jar包,里面放着编译好的Java代码。 xxx代表版本号,不要在Shell中真的输入xxx,请将javajvm-xxx.jar自行换成对应的文件。 在javajvm-xxx.jar所在的目录下,命令行中执行 ...
java jvm内存结构 调优
java JVM专题问题整理分析
java jvm内存模型
java jvm垃圾回收
最新版java JVM 工具 visualvm_20.zip
java jvm初步了解;打卡狂神
java jvm调优浅谈
javajvm虚拟机原理PPT课件.pptx
Java JVM面试题