发明名称 USING TYPE STABILITY TO FACILITATE CONTENTION MANAGEMENT
摘要 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.
申请公布号 EP2176764(A4) 申请公布日期 2011.11.16
申请号 EP20080771367 申请日期 2008.06.18
申请人 MICROSOFT CORPORATION 发明人 DETLEFS, DAVID;MAGRUDER, MICHAEL M.;DUFFY, JOHN JOSEPH
分类号 G06F9/46 主分类号 G06F9/46
代理机构 代理人
主权项
地址