Computer system, memory management method, storage medium and program transmission apparatus
Abstract
The present invention provides a technique for skipping a locking process for an object in memory when a thread accesses an object that only it will access in order to reduce the load imposed on a system and to improve the overall system performance. A program executing in a computer system has multiple threads that share and access objects stored in memory. The objects have thread locality flags associated therewith that indicate the presence or absence of thread localities. The threads examine the thread locality flags for the objects they attempt to access to determine whether the corresponding objects, which are to be accessed, have localities for the threads. If, so the, threads skip the locking process and access objects immediately. If not, the object is locked prior to being accessed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 7.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A data processing system comprising: a processor; an interconnect; a system memory, coupled to the processor via the interconnect, wherein the system memory stores at least one object, the at least one object further includes: a thread locality flag that is set for indicating that the at least one object has been directly referred to by only a specific thread out of a plurality of threads issued from the processor; and a locking manager that performs a locking process on the at least one object only when the thread locality flag is not set and a thread out of the plurality of threads that is n
- Claim 2Depends on #1
The data processing system according to claim 1 , further comprising: a garbage collector for removing the at least one object from the system memory only when the thread locality flag is set and the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (3)
- Kamada, T. et al. "Efficient Global Garbage Collection on a Massively Parallel Computer" Dept. Of Information Science, The University of Tokyo, IPSJ, vol. 93, No. 73, pp. 121-128, Aug. 20, 1993.
- Onodera, T. "Generational and Conservative Copying Collector for C-Based Objects" IBM Research, Tokyo Research Laboratory , IPSJ, vol. 92, No. 75, pp 33-41, Sep. 22, 1992.
- Onodera, T. "Introduction to Conservative Collection", IBM Japan, Tokyo Research Laboratory, IPS, vol. 35, No., pp 1020-1026, Nov., 1994.