Comments (5)
这里的动态年龄判定,指的就是年龄N的动态,不是指相同年龄的所有对象,目的都是为了减少GC。
from jvm.
= 该年龄的对象就可以直接进入老年代,无须等到 MaxTenuringThreshold 中要求的年龄。
实际上,经过测试的结论:
如果当前新生代的Survivor中,年龄小到大(1,2,3,4,5,N)的对象所有对象的大小总和大于Survivor空间的一半,年龄N >=该年龄的对象就可以直接晋升到老年代,无须等到MaxTenuringThreshold中要求的年龄。
那你这里的“年龄N >=该年龄的对象就可以直接晋升到老年代”,“该年龄”指的是哪个年龄?
from jvm.
from jvm.
from jvm.
from jvm.
Related Issues (16)
- JVM 内存结构中的疑问 HOT 1
- JVM
- CMS重新标记阶段是无法标记并行阶段产生的垃圾的
- JVM底层原理解析【相似项目自荐】
- 能不能讲点JVM源码系列? HOT 2
- 引用计数法是可以解决循环引用的问题 HOT 1
- 如何缩短STW? HOT 1
- CMS问题 HOT 7
- 弱引用表述不严谨 HOT 3
- jvm HOT 1
- java 8 后 方法区 已经没有 静态变量了吧
- 可以打一个PDF版本吗 HOT 1
- 标记清除算法表述错误 HOT 4
- 很多地方的图片显示不了,是不是图片服务器出问题了? HOT 1
- 语法+错别字 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jvm.