We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
段落5第4行,说到CMS需要处理老年代到新生代的引用,而P84页提到记忆集是记录非收集区域指向收集区域的,那么,CMS作为老年代收集器,其记忆集不应该是新生代到老年代的引用吗,原文是不是写反了?
The text was updated successfully, but these errors were encountered:
在进行YGC的时候,非收集区域是老年代,要收集的是年轻代。 虽然CMS是管理老年代的,但是年轻代和老年代的垃圾收集器是相互配合的,当年轻代进行收集的时候需要得到跨代引用有哪些,这些数据是由老年代提供的,因为CMS是通过写屏障在引用对象赋值时进行卡表的维护,卡表记录的是那块内存里面存在跨代引用的对象,也就是老年的那个对象。 那么为什么年轻代不需要维护这个记忆集,因为先回收的是年轻代,如果年轻代指向了老年代,顺着就找到了,
Sorry, something went wrong.
No branches or pull requests
段落5第4行,说到CMS需要处理老年代到新生代的引用,而P84页提到记忆集是记录非收集区域指向收集区域的,那么,CMS作为老年代收集器,其记忆集不应该是新生代到老年代的引用吗,原文是不是写反了?
The text was updated successfully, but these errors were encountered: