Usage of AtomicMarkableReference & Atomicstampedreference

133 views
Skip to first unread message

Ashkrit Sharma

unread,
Jun 11, 2014, 12:31:53 PM6/11/14
to mechanica...@googlegroups.com
Started reading "The ArtofMultiprocessor Programming"  book ,chapter 9 talks about LockFreeList data structure which is based on AtomicMarkableReference.
It looks very interesting data structure. AtomicMarkableReference class has GC overhead because new instance is created for each CAS operation.

My question to experts 
 - What are some of real use case for AtomicMarkableReference ? Stack overflow has some details . Is it of really of any use ?
 - Which is better ConcurrentLinkedQueue or queue based on AtomicMarkableReference ?
Reply all
Reply to author
Forward
0 new messages