[concurrency-interest] ConcurrentHashMap and Unsafe usage

Kasper Nielsen kasperni at gmail.com
Wed May 23 19:40:13 EDT 2018


Hi,

Now that most of the concurrent data structures in j.u.c have transitioned
to using VarHandle.
I was wondering why ConcurrentHashMap still uses Unsafe for its variables?

Cheers
  Kasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20180524/93f312a2/attachment.html>


More information about the Concurrency-interest mailing list