发明名称 Method and apparatus for implementing a write barrier of a garbage collected heap
摘要 Apparatus, methods, systems and computer program products are disclosed describing a data structure and associated processes that optimize garbage collection. The invention sections a card vector associated with a card marked heap into portions. Each portion can be individually write protected. A section vector contains section data structures that are used to control their respective portions. When a write-barrier executes and attempts to mark a card marker in a read-only portion of the card vector, the invention traps the mark operation, sets the portion to read-write, changes the status of the section data structure and completes the mark operation. When a garbage collection phase scans the heap during the garbage collection process, it skips over portions of the card vector associated with sections having a read-only status-thus, improving the garbage collection process.
申请公布号 US6049810(A) 申请公布日期 2000.04.11
申请号 US19970842194 申请日期 1997.04.23
申请人 SUN MICROSYSTEMS, INC. 发明人 SCHWARTZ, DAVID C.;KNIPPEL, ROSS C.
分类号 G06F12/02;(IPC1-7):G06F12/00 主分类号 G06F12/02
代理机构 代理人
主权项
地址