Using type stability to facilitate contention management
AssigneeMicrosoft Corporation
InventorsDavid Detlefs, Michael M. Magruder, John Joseph Duffy
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsDavid Detlefs, Michael M. Magruder, John Joseph Duffy
Estimating the term…
Various technologies and techniques are disclosed for providing type stability techniques to enhance contention management. A reference counting mechanism is provided that enables transactions to safely examine states of other transactions. Contention management is facilitated using the reference counting mechanism. When a conflict is detected between two transactions, owning transaction information is obtained. A reference count of the owning transaction is incremented. The system ensures that the correct transaction was incremented. If the owning transaction is still a conflicting transaction, then a contention management decision is made to determine proper resolution. When the decision is made, the reference count on the owning transaction is decremented by the conflicting transaction. When each transaction completes, the reference counts it holds to itself is decremented. Data structures cannot be deallocated until their reference count is zero. Dedicated type-stable allocation pools can be reduced using an unstable attribute.
A method for reducing dedicated type-stable allocation pools using an unstable attribute, the method comprising:
A computer-readable storage medium that is a memory device storing computer-executable instructions for controlling a computer system to perform a method comprising:
Dependencies are inferred from the claim text.