Switching a locking mode of an object in a multi-thread program
Abstract
A mechanism is provided for switching a locking mode of an object in a multi-thread program. The mechanism acquires, during execution of the program, access information related to accesses to the object by a plurality of threads. The object supports a single-level locking mode and a multi-level locking mode. The single-level locking mode is a mode capable of locking the object. The multi-level locking mode is a mode capable of locking the object and fields in the object respectively. The mechanism switches the locking mode of the object between the single-level locking mode and the multi-level locking mode based on the access information.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for switching a locking mode of an object in a multi-thread program, comprising: acquiring, during execution of the program, access information related to accesses to the object by a plurality of threads, wherein the object supports a single-level locking mode and a multi-level locking mode, the single-level locking mode is a mode capable of locking the object, and the multi-level locking mode is a mode capable of locking the object and fields in the object respectively, wherein the access information comprises a total number of accesses to the object by the plurality of threads, a nu
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- Dragicevic, Kristijan et al., "Survey of Concurrent Priority Queue Algorithms", IPDPS 2008, International Symposium on Parallel and Distributed Processing, Apr. 14-18, 2008, http://www.zurich.ibm.corn/pdf/sys/adv-messaging/shortConcurrentPrioQueue.pdf, 7 pages.
- Dragicevic, Kristijan et al., “Survey of Concurrent Priority Queue Algorithms”, IPDPS 2008, International Symposium on Parallel and Distributed Processing, Apr. 14-18, 2008, http://www.zurich.ibm.corn/pdf/sys/adv—messaging/shortConcurrentPrioQueue.pdf, 7 pages.
- Onodera, Tamiya et al., "A Study of Locking Objects with Bimodal Fields", IBM Corporation, IBM Research, Tokyo Research Laboratory, Oct. 1999, 15 pages.
- Shen, Ting-Han et al., "Using Group Fine-grained Locking Scheme in Software Transactional Memory for Multiprocessing Systems", Institute of Computer Science and Information Engineering National Cheng Kung University, Tainan, Taiwan, 2010, 7 pages.
- Sundell, Hakan et al., "Fast and Lock-Free Concurrent Priority Queues for Multi-Thread Systems", IPDPS 2003, International Symposium on Parallel and Distributed Processing, Apr. 22-26, 2003, https://docs.google.com/viewer?a=v&q=cache:vcnfHm6NQWYJ:citeseerx.ist.psu.edu/viewdoc/download?doi%3D10.1.1,6