dxq83
火狐狸
火狐狸
  • UID25092
  • 注册日期2008-06-26
  • 最后登录2015-01-19
  • 发帖数202
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
阅读:1004回复:1

Compartmental GC是什么意思?

楼主#
更多 发布于:2010-09-26 21:55
Compartmental GC是什么意思?

那位大侠解释一下!!  
GOLF-AT
千年狐狸
千年狐狸
  • UID11611
  • 注册日期2006-02-20
  • 最后登录2019-12-30
  • 发帖数3239
  • 经验265枚
  • 威望1点
  • 贡献值260点
  • 好评度59点
  • 社区居民
  • 忠实会员
1楼#
发布于:2010-09-26 21:55
The plan is to divide the JSRuntime into compartments (subheaps). Each
compartment will contain some global objects and everything parented to them.
We'll impose a write barrier on all references across compartments.

Then we'll support GC on an individual compartment, treating all references
pointing into that compartment from outside as roots. This will not collect
cyclic garbage that spans compartments; so we will also continue to support
JSRuntime-wide GC.
游客

返回顶部