发明名称 |
Efficient garbage collection and exception handling in a hardware accelerated transactional memory system |
摘要 |
Handling garbage collection and exceptions in hardware assisted transactions. Embodiments are practiced in a computing environment including a hardware assisted transaction system. Embodiments includes acts for writing to a card table outside of a transaction; handling garbage collection compaction occurring when a hardware transaction is active by using a common global variable and instructing one or more agents to write to the common global variable any time an operation is performed which may change an object's virtual address; acts for managing a thread-local allocation context; acts for handling exceptions while in a hardware assisted transaction. A method includes beginning a hardware assisted transaction, raising an exception while in the hardware assisted transaction, including creating an exception object, determining that the transaction should be rolled back, and as a result of determining that the transaction should be rolled back, marshaling the exception object out of the hardware assisted transaction.
|
申请公布号 |
US8402218(B2) |
申请公布日期 |
2013.03.19 |
申请号 |
US20090638929 |
申请日期 |
2009.12.15 |
申请人 |
GRAY JAN;TAILLEFER MARTIN;LEVANONI YOSSEFF;ADL-TABATABAI ALI-REZA;DETLEFS DAVE;GROVER VINOD K.;MAGRUDER MICHAEL;SHEAFFER GAD;MICROSOFT CORPORATION |
发明人 |
GRAY JAN;TAILLEFER MARTIN;LEVANONI YOSSEFF;ADL-TABATABAI ALI-REZA;DETLEFS DAVE;GROVER VINOD K.;MAGRUDER MICHAEL;SHEAFFER GAD |
分类号 |
G06F12/00;G06F13/00;G06F13/28 |
主分类号 |
G06F12/00 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|