[concurrency-interest] Why "fast path" is faster than full enq in AQS
davidcholmes at aapt.net.au
Fri Jan 5 02:30:18 EST 2018
What version of the code are you looking at? I can’t see anything like that in current OpenJDK sources.
From: Concurrency-interest [mailto:concurrency-interest-bounces at cs.oswego.edu] On Behalf Of ??? via Concurrency-interest
Sent: Friday, January 5, 2018 4:20 PM
To: concurrency-interest <concurrency-interest at cs.oswego.edu>
Subject: [concurrency-interest] Why "fast path" is faster than full enq in AQS
I'm reading the source code of "AbstractQueuedSynchronizer", getting a little confused of the reason Why "fast path" is faster than full enq in the comment "Try the fast path of enq; backup to full enq on failure" .
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest