发明名称 High performance locks
摘要 Systems and methods of enhancing computing performance may provide for detecting a request to acquire a lock associated with a shared resource in a multi-threaded execution environment. A determination may be made as to whether to grant the request based on a context-based lock condition. In one example, the context-based lock condition includes a lock redundancy component and an execution context component.
申请公布号 US8887170(B2) 申请公布日期 2014.11.11
申请号 US201213421205 申请日期 2012.03.15
申请人 International Business Machines Corporation 发明人 Krauss Kirk J.
分类号 G06F9/48;G06F9/52;G06F9/50;G06F9/455 主分类号 G06F9/48
代理机构 Jordan IP Law, LLC 代理人 Jordan IP Law, LLC
主权项 1. A computer-implemented method comprising: conducting a runtime analysis of a multi-threaded execution environment including a first thread and a second thread; identifying a context-based lock condition based on the runtime analysis and a threshold, wherein the threshold includes at least one of a wait time threshold and an occurrence threshold, and the context-based lock condition includes a lock redundancy component and an execution context component; detecting a request issued by the first thread to acquire a lock held by the second thread, wherein the lock is associated with a shared resource in the multi-threaded execution environment; denying the request if both the lock redundancy component and the execution context component are satisfied to permit access to the shared resource by the first thread without acquiring any lock for the shared resource; and granting the request if both the lock redundancy component and the execution context component are not satisfied.
地址 Armonk NY US