EP0946913B1

Thread-local synchronization construct cache

Abstract

This record has no abstract on file.

EP0946913B1, drawing sheet 1
Sheet 1 of 6

Term

Term ended

Expired 3 April 2018, 8.5 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

20 claims: 3 independent, 17 dependent

  1. 1
    A method of synchronising an object (214) with a thread (216), the method comprising the steps of:searching a local data structure (368) for reference data (364) referring to a specific synchronisation construct (224) that is associated with said object (214), said local data structure being a data structure that is part of a thread-local cache (350) assigned to said thread (216);and if said local data structure does not contain said reference data referring to said specific synchronisation construct, then searching for said specific synchronisation construct using a global data structure (328), said global data structure containing data (324) associating objects (214) with synchronisation constructs (224).
  2. 10
    A computer-readable medium carrying one or more sequences of one or more instructions for synchronising an object (214) with a thread (216), wherein the execution of the one or more sequences of the one or more instructions causes the one or more processors to perform the steps of:searching a local data structure (368) for reference data (364) referring to a specific synchronisation construct (224) that is associated with said object (214), said local data structure being a data structure that is part of a thread-local cache (350) assigned to said thread (216);and if said local data structure does not contain said reference data referring to said specific synchronisation construct, then searching for said specific synchronisation construct using a global data structure (328), said global data structure containing data (324) associating objects (214) with synchronisation constructs (224).
  3. 19
    A computer system comprising:a processor (104);a memory (106) coupled to said processor;a cache of synchronisation constructs (224) stored in said memory;a global data structure (328) stored in said memory, said global data structure containing data (324) associating objects (214) with synchronisation constructs associated with said objects;a thread-local cache (350) stored in said memory, said thread-local cache being assigned to a thread (216);a local data structure (368) stored as part of said thread-local cache;said processor configured to search said local data structure for reference data referring to a specific synchronisation construct associated with an object;and said processor configured to search, if said local data structure does not contain reference data referring to said specific synchronisation construct, for said specific synchronisation construct using, said global data structure.