发明名称 Transforming locks in software loops
摘要 An improved system and computer programming product for acquisition and release of locks within a software program is disclosed. In an exemplary embodiment, a lock within a loop is transformed by relocating acquisition and release instructions from within the loop to positions outside the loop. This may significantly decrease unnecessarily lock acquisition and release during execution of the software program. In order to avoid contention problems which may arise from acquiring and keeping a lock on an object over a relatively long period of time, a contention test may be inserted into the loop. Such a contention test may temporarily release the lock if another thread in the software program requires access to the locked object.
申请公布号 US8276134(B2) 申请公布日期 2012.09.25
申请号 US20080135311 申请日期 2008.06.09
申请人 GRCEVSKI NIKOLA;STOODLEY KEVIN ALEXANDER;STOODLEY MARK GRAHAM;SUNDARESAN VIJAY;INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 GRCEVSKI NIKOLA;STOODLEY KEVIN ALEXANDER;STOODLEY MARK GRAHAM;SUNDARESAN VIJAY
分类号 G06F9/45;G06F9/06;G06F9/44;G06F9/52 主分类号 G06F9/45
代理机构 代理人
主权项
地址