知识库--Garbage Collection Types(71)
来源:互联网 发布:php fpm 错误日志 编辑:程序博客网 时间:2024/05/29 04:37
When the young generation fills up, a young generation of just that generation is performed. When the old or permanent generation fills up, what is known as a full collection is typically done. That is, all generations are collected. Commonly, the young generation is collected first, using the collection algorithm designed specifically for that generation, because it is usually the most efficient algorithm for identifying garbage in the young generation. Then what is referred to below as the old generation collection algorithm for a given collector is run on both the old and permanent generation. If compaction occurs, each generation is compacted separately.
Sometimes the old generation is too full to accept all the objects that would be likely to be promoted from the young generation to the old generation if the young generation was collected first. In that case, for all but the CMS collector, the young generation collection algorithm is not run. Instead, the old generation collection algorithm is used on the entire heap.
The CMS old generation algorithm is a special case because it cannot collect the young generation.
//full GC 一般收集算法会对整个堆进行old generation collection algorithm, 但是CMS的old generation algorithm 不能对年轻代使用,因为不能收集年轻代空间
- 知识库--Garbage Collection Types(71)
- java gc(garbage collection)
- JVM GC(Garbage Collection)
- Garbage Collection
- Garbage Collection
- Garbage Collection
- garbage collection
- Garbage Collection
- Garbage Collection
- Garbage Collection
- Garbage Collection
- Garbage Collection
- Garbage Collection
- .Net 垃圾收集(Garbage Collection)
- Java 垃圾收集器(Garbage Collection)
- Java 垃圾收集(Garbage Collection)
- Garbage collection--垃圾回收机制(java)
- Java垃圾回收(garbage collection)介绍
- Microsoft Speech SDK 工具类
- 数据拟合与插值方法
- cocos2d坐标系研究
- python-IDE-spyder自动设置时间,作者、联系方式的方法--python学习笔记27
- Linux学习的第一步——安装搜狗输入发
- 知识库--Garbage Collection Types(71)
- ajax数据处理
- Java 8 Default Methods
- caffe-windows下matcaffe接口配置
- Xcode常用快捷键及操作
- LintCode: 解码方法
- 线性表学习笔记
- cocos2d-x 3.x版本开发环境搭建
- 文章标题 SPOJ PHT : Pigeonhole Tower(二分)