Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JVM 垃圾回收-动态对象年龄描述错误 #137

Open
qy-liuhuo opened this issue Dec 22, 2024 · 0 comments · May be fixed by #138
Open

JVM 垃圾回收-动态对象年龄描述错误 #137

qy-liuhuo opened this issue Dec 22, 2024 · 0 comments · May be fixed by #138

Comments

@qy-liuhuo
Copy link

https://javabetter.cn/jvm/gc.html#old-%E5%8C%BA

中的动态对象年龄描述为:如果 Survivor 空间中某个年龄段的对象总大小超过了 Survivor 空间的一半,那么该年龄段及以上年龄段的所有对象都会在下一次垃圾回收时被晋升到老年代,无需等你“成年”

应该修正为:如果 Survivor 空间中某个年龄段及以上的对象总大小超过了 Survivor 空间的一半

image

@qy-liuhuo qy-liuhuo linked a pull request Dec 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant