Method and apparatus for performing lock-free updates in a linked list

Patent №

US 8,768,889

Granted

2014-07-01

Filed 2004

Owner

SUN MICROSYSTEMS, INC.

Lab

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

10820661

One embodiment of the present invention provides a system that performs a lock-free update to one or more fields in an existing node in a linked list. To perform the update, the system first obtains a new node to be added to the linked list, wherein other processes do not possess references to the new node and therefore cannot initially access the new node. Next, the system copies a snapshot of the existing node to the new node, and then updates one or more fields in the new node that correspond to the one or more fields in the existing node. Next, in a single atomic operation the system modifies a next pointer of the existing node to point to the new node and also marks the next pointer to indicate that the existing node is deleted. In this way, the new node becomes part of the linked list and the existing node is deleted in a single atomic operation.

AI hardwareG06F 5/06G06F 2205/064G06F 2205/123

AI classification

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

Ownership

SUN MICROSYSTEMS, INC.

assignment · 151980219

Assignors

MARTIN, PAUL A.

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

© 2026 NYSGPT2525 LLC