[concurrency-interest] implementing reentrant locks with Thread.currentThread

Andrew Haley aph at redhat.com
Fri Nov 22 14:36:04 EST 2013


On 11/22/2013 07:04 PM, Andrew Haley wrote:
> In the end, if you really want to know what's going on in HotSpot you
> have to look at the code that's generated.  I've heard all sorts of
> crackpot theories about how to optimize HotSpot that are based on a
> completely false idea of how it works.

Sorry, that came across really badly.  I didn't mean to suggest that
you were a crackpot, just to point out the dangers in coming to
conclusions about performance based on incomplete evidence.

Andrew.



More information about the Concurrency-interest mailing list