发明名称 Deferring and combining write barriers for a garbage-collected heap
摘要 The present invention provides a technique for reducing the number of write barriers without compromising garbage collector performance or correctness. To that end, a compiler defers emitting write barriers until it reaches a subsequent instruction in the mutator code. At this point, the compiler may elide repeated or unnecessary write-barrier code so as to emit only those write barriers that provide useful information to the garbage collector. By eliminating write-barrier code in this manner, the amount of write-barrier overhead in the mutator can be minimized, consequently enabling the mutator to execute faster and more efficiently. Further, collocating write barriers after the predetermined instruction also enables the compiler to generate object code having better cache performance and more efficient use of guard code than is possible using conventional write-barrier implementations.
申请公布号 US7404182(B1) 申请公布日期 2008.07.22
申请号 US20030679183 申请日期 2003.10.03
申请人 SUN MICROSYSTEMS, INC. 发明人 GARTHWAITE ALEXANDER T.;HELLER STEVEN K.
分类号 G06F9/44;G06F17/30 主分类号 G06F9/44
代理机构 代理人
主权项
地址