METHOD AND APPARATUS FOR SPECULATIVELY LOCKING OBJECTS IN AN OBJECT-BASED SYSTEM

Patent №

US 6,487,652

Granted

2002-11-26

Filed 1999

Owner

SUN MICROSYSTEMS, INC.

+1 more

Lab

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

09409932

Methods and apparatus for speculatively locking an object are disclosed. According to one aspect of the present invention, a method for acquiring use of an object using a current thread includes a determination of whether a first bit included in the object is set to indicate that the object is speculatively owned by a speculative owner thread. When the object is speculatively owned, the speculative owner thread is allowed to use the object without locking the object. The method also includes checking a stored identifier that is associated with the object and identifies the speculative owner thread, as well as determining whether the stored identifier identifies the current thread. When the stored identifier identifies the current thread, the current thread already has use of the object; i.e., the current thread is the speculative owner thread. Finally, the method includes locking the object using the speculative owner thread when it is determined that the stored identifier does not identify the current thread. In one embodiment, as for example when substantially all objects in a computing system are known to be suitable for speculative ownership, the stored identifier is checked before determining when the first bit associated with the object is set to indicate that the object is associated with the speculative owner thread.

AI classification

AI hardware0.61
Natural language0.02
Planning0.01
Evolutionary computation0.01
Vision0.00
Machine learning0.00
Knowledge representation0.00
Speech0.00

Ownership

SUN MICROSYSTEMS, INC.

assignment · 104660731

ORACLE AMERICA, INC.

merger · 372780638

Assignors

GOMES, BENEDICT A., BAK, LARS, STOUTAMIRE, DAVID P.

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC