发明申请
- 专利标题: COMPRESSED TRANSACTIONAL LOCKS IN OBJECT HEADERS
- 专利标题(中): 对象头部压缩的交互锁
-
申请号: US12163788申请日: 2008-06-27
-
公开(公告)号: US20090327636A1公开(公告)日: 2009-12-31
- 发明人: David L. Detlefs , Vinod K. Grover , Yosseff Levanoni , Michael M. Magruder
- 申请人: David L. Detlefs , Vinod K. Grover , Yosseff Levanoni , Michael M. Magruder
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 主分类号: G06F12/14
- IPC分类号: G06F12/14 ; G06F17/30
摘要:
A software transactional memory system is provided that generates and stores compressed transactional locks in a portion of object headers. The software transactional memory system allocates preferred write log memory with a predefined size of memory that corresponds to a number of bits in the compressed transactional locks. The compressed transactional locks identify write log entries in corresponding write logs in the preferred write log memory. If the preferred write log memory becomes full, additional write log memory is allocated for write log entries and subsequent transactional locks are stored uncompressed in an auxiliary memory. A pointer that may be used to locate the uncompressed transactional lock is stored in the header. If an object header with a compressed transactional lock is needed for another use, the compressed transactional lock is uncompressed and stored in the auxiliary memory. A pointer that may be used to locate the uncompressed transactional lock is stored in the header.
公开/授权文献
- US08341133B2 Compressed transactional locks in object headers 公开/授权日:2012-12-25
信息查询