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 ?