发明授权
- 专利标题: Low-contention update buffer queuing for small systems
- 专利标题(中): 针对小型系统的低争用更新缓冲区排队
-
申请号: US12693815申请日: 2010-01-26
-
公开(公告)号: US08645651B2公开(公告)日: 2014-02-04
- 发明人: Antonios Printezis , Paul H. Hohensee
- 申请人: Antonios Printezis , Paul H. Hohensee
- 申请人地址: US CA Redwood City
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood City
- 代理机构: Marsh Fischmann & Breyfogle, LLP
- 代理商 Kent A. Lembke
- 主分类号: G06F12/00
- IPC分类号: G06F12/00 ; G06F12/02
摘要:
A method for queuing update buffers to enhance garbage collection. The method includes running an application thread and providing, for the application thread, a data structure including current and finished update buffer slots. The method includes providing an update buffer for the application thread and storing a pointer to the update buffer in the current update buffer slot. The method includes storing null in the finished update buffer slot and, with the application thread, writing to the update buffer. The thread may write a pointer to the filled update buffer in the finished update buffer slot after the buffer is filled. The method includes using a garbage collector thread to inspect the finished update buffer slot and claim filled buffers and change the pointer to null. The thread then obtains an empty update buffer and updates the current update buffer slot to point to the new buffer.
公开/授权文献
- US20110185144A1 Low-Contention Update Buffer Queuing for Small Systems 公开/授权日:2011-07-28
信息查询