Invention Grant
- Patent Title: Hardware extensions for memory reclamation for concurrent data structures
-
Application No.: US14946625Application Date: 2015-11-19
-
Publication No.: US09785548B2Publication Date: 2017-10-10
- Inventor: Alex Kogan , David Dice , Maurice P. Herlihy
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood City
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood City
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F12/02
- IPC: G06F12/02 ; G06F12/10 ; G06F9/50 ; G06F9/52 ; G06F12/1027

Abstract:
A hardware-assisted mechanism may improve the performance of memory reclamation operations that employ hazard pointers. The mechanism includes hazard lookaside buffers (HLBs), each implemented in hardware and locally accessible to one or more processor cores, and two new instructions. A special store instruction may write entries to local HLBs for pointers that have been or will be dereferenced but were not yet written to a shared hazard table (which requires memory barriers). Each entry may include a hazard pointer and a table address. A special test instruction may signal each HLB to determine whether it contains a particular pointer and, if so, to return a response. If the pointer does not reside in any HLB, the memory reclamation operation may search the hazard table for the pointer. If the pointer is found in an HLB or in the hazard table, the pointed-to memory location or memory block is not reclaimed.
Public/Granted literature
- US20170147487A1 Hardware Extensions for Memory Reclamation for Concurrent Data Structures Public/Granted day:2017-05-25
Information query