×

Fast synchronization for programs written in the JAVA programming language

  • US 6,349,322 B1
  • Filed: 05/06/1998
  • Issued: 02/19/2002
  • Est. Priority Date: 05/06/1998
  • Status: Active Grant
First Claim
Patent Images

1. A method for execution in a processor having a plurality of threads executing thereon, the threads including synchronized operations that refer to at least one shared object, wherein the shared object is identified by an object identification (OID), the method comprising the steps of:

  • selecting a first thread of the plurality of threads including a synchronized operation for execution;

    upon entering the selected thread, indicating that the at least one shared object should be locked by pushing the OID of the at least one shared object onto a lock stack accessible to all of the plurality of threads;

    executing the synchronized operations defined by the selected thread; and

    removing the indication by pushing the OID from the lock stack.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×