了解并发预清理和卡片表
到目前为止,我已经了解卡表用于将引用年轻代的终身区域中的任何对象标记为脏对象,以防任何引用被修改。 但是请阅读链接,尤其是下图在“pre clean 做了什么”部分,卡片表似乎还存储了年轻对象以及对老一代的引用。这是正确的吗?卡片表是否存储双向引用?
So far I have understod that card tables are used to mark any objects from the tenured region that references to the young generation as dirty in case any references have been modified.
But reading in link, and especially the figure under the section 'What pre clean did', it seems like the card table also stores young objects with references to the old generation. Is that correct? Does a card table store both way references?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论