Invention Grant
- Patent Title: Compressed transactional locks in object headers
- Patent Title (中): 对象标题中的压缩事务锁
-
Application No.: US12163788Application Date: 2008-06-27
-
Publication No.: US08341133B2Publication Date: 2012-12-25
- Inventor: David L. Detlefs , Vinod K. Grover , Yosseff Levanoni , Michael M. Magruder
- Applicant: David L. Detlefs , Vinod K. Grover , Yosseff Levanoni , Michael M. Magruder
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Main IPC: G06F7/00
- IPC: G06F7/00 ; G06F17/00 ; G06F13/00 ; G06F13/28 ; G06F15/16

Abstract:
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.
Public/Granted literature
- US20090327636A1 COMPRESSED TRANSACTIONAL LOCKS IN OBJECT HEADERS Public/Granted day:2009-12-31
Information query