Patents
US 6,134,627 A#3140815 Most CitedExpiredUnited States (USPTO)Utility

Thread synchronization in a computer controlled by an object-based program

24Forward Citations (#3140815 Global)
0.9/yrCitation Velocity (#7717345 Global)
7.10Citation PageRank (#1872150 Global)
16Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method for synchronizing threads in a computer operating under control of a program written in an object-based computer programming language provides for a first thread to lock an object by moving the object header to a stack address and replacing the header with the stack address. The first thread unlocks the object by returning the header to its associated memory location. Second and subsequent threads attempting to access a locked object detect the presence of the stack address in the header memory location and suspend their attempts to access the object. When using aligned stacks, all stack addresses will be even, and all object-headers will be odd. Threads efficiently check the status of the object by testing the least significant bit. A preferred method is implemented in a "JAVA" just-in-time compiler of a "JAVA" virtual machine.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 24.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for controlling operations on an object in a computer operating under control of an object-based program, said object having an object header, an associated operation, and an associated state characteristic, the object header being integrally associated with the object, said method comprising: establishing the object in a memory region, wherein a portion of the memory region is associated with the object header; placing a predetermined pattern into the portion of the memory region associated with the object header using a first thread, wherein placing the predetermined pattern into

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (16)

PatentTitleYearCitations
US 4,525,780 AData processing system having a memory using object-based information and a protection scheme for determining access rights to such information1985351
US 5,020,080 ADemodulation method and demodulator for digital signals with amplitudes of constant envelope, continuously modulated in phase and/or in frequency19916
US 5,060,144 ALocking control with validity status indication for a multi-host processor system that utilizes a record lock processor and a cache memory for each host processor1991119
US 5,136,712 ATemporary object handling system and method in an object based computer operating system199295
US 5,379,432 AObject-oriented interface for a procedural operating system1995130
US 5,414,839 AHybrid lock escalation and de-escalation protocols1995150
US 5,442,758 AApparatus and method for achieving reduced overhead mutual exclusion and maintaining coherency in a multiprocessor system utilizing execution history and thread monitoring1995339
US 5,598,562 ASystem and method for adding new waitable object types to object oriented computer operating system199786
US 5,630,136 AMethod and apparatus for serializing access to multithreading unsafe resources199758
US 5,684,974 AMethod and apparatus for controlling reconfiguration of storage-device memory areas199744
US 5,701,470 ASystem and method for space efficient object locking using a data subarray and pointers199765
US 5,727,178 ASystem and method for reducing stack physical memory requirements in a multitasking operating system199866
US 5,732,404 AFlexible expansion of virtual memory addressing199830
US 5,822,588 ASystem and method for checking the use of synchronization locks in a multi-threaded target program1998102
US 5,893,912 AThread context manager for relational databases, method and computer program product for implementing thread context management for relational databases199931