[concurrency-interest] strange performance issue with ArrayBlockingQueue on Linux

Martin Buchholz martinrb at google.com
Fri Jul 21 14:38:02 EDT 2017

On Fri, Jul 21, 2017 at 11:29 AM, Matthews, Graham <gmatthew at callutheran.edu
> wrote:

> We had previously run this code with profiling and like you found the
> unpark/park issue. We had also noticed that on OS X almost 1/2 as much time
> is spent in park/unpark as on Linux.

Through experience I am distrustful of profilers, but I am especially
distrustful of any measurements around park/unpark.  Profilers are often
deeply confused by thread suspension.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20170721/2cc95cc6/attachment.html>

More information about the Concurrency-interest mailing list