commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject Re: [poo] fairness
Date Thu, 03 Apr 2014 00:23:01 GMT
On 4/2/14, 3:38 PM, Gary Gregory wrote:
> Are the concurrency updates in Java 7 (or 8) of any help here?

The machinery is there in the 1.6 vintage classes we now use.  We
just need to make fairness of the lock used by our
LinkedBlockingDeque configurable.

Phil
>
> Gary
>
>
> On Wed, Apr 2, 2014 at 5:58 PM, Phil Steitz <phil.steitz@gmail.com> wrote:
>
>> It looks to me like v 2 pools are no longer fair in the sense of
>> 1.5.x (modulo lucky threads getting to wait on creates).  I agree
>> that the default should be no fairness constraint, but it might be
>> good to make this configurable.  This looks doable with another
>> small tweak to LinkedBlockingDeque.  Any objections to this?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message