×

Non-blocking caching technique

  • US 9,223,780 B2
  • Filed: 12/19/2012
  • Issued: 12/29/2015
  • Est. Priority Date: 12/19/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method performed by executing software instructions with a processor, the method comprising:

  • receiving lookup requests from calling threads to obtain requested data items from a software cache data structure having a plurality of slots;

    mapping the requested data items to individual slots of the software cache data structure based on characteristics of the requested data items;

    performing access checks to determine whether the individual slots of the software cache data structure are being used by other threads; and

    after performing the access checks, selectively checking whether the requested data items are stored in the individual slots of the software cache data structure based on whether the individual slots are being used by the other threads, the selectively checking comprising;

    for first lookup requests from first calling threads where the individual slots are being used by the other threads, returning to the first calling threads without checking whether corresponding requested first data items are stored in the software cache data structure, andfor second lookup requests from second calling threads where the individual slots are not being used by the other threads, checking whether corresponding requested second data items are stored in the software cache data structure.

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