dev@grizzly.java.net

Re: why there are .class into the repositoty ?

From: kedar mhaswade <kedar.mhaswade_at_gmail.com>
Date: Tue, 15 Dec 2009 09:58:57 -0800

On Tue, Dec 15, 2009 at 7:16 AM, gustav trede <gustav.trede_at_gmail.com>wrote:

>
>
> 2009/12/15 Justin Lee <Justin.Lee_at_sun.com>
>
> Right. LinkedTransferQueue, e.g., is a JDK7 class so it's not even in
>> Java6 (yet?).
>>
>> LTQ shines for clean fixed Thread pool implementations when no extra fluff
> is needed.
> If anybody finds a more scalable way to implement a threadpool then the
> current poison based Fixed pool in grizzly it would be good to know, so we
> can ensure we got the best thing possible.
> LBQ does perform better for a few threads that consume/produces extremely
> short tasks, but it dont scale well.
>

Hello Gustav,

JCiP (the book Java Concurrency in Practice) contains a comparison of LBQ
and ABQ (ArrayBlockingQueue) and demonstrates that LBQ "scales" better on
multi-core machine (that they chose). Is a similar comparison available
somewhere with regards to LTQ and LBQ?

Also, will it be better if we created a Java 1.5 maven artifact of these
classes rather than checking them into SCM?

Regards,
Kedar


>
>
>>
>> gustav trede wrote:
>>
>>> Because they cant be loaded by java 1.5 .
>>>
>>> 2009/12/15 Sebastien Dionne <survivant00_at_gmail.com>
>>>
>>>
>>>
>>>> C:\Source\grizzly_new\grizzly\code\modules\utils\src\main\resources
>>>>
>>>>
>>>> C:\Source\grizzly_new\grizzly\code\modules\utils\src\main\resources\maskedclasses
>>>>
>>>>
>>>> C:\Source\grizzly_new\grizzly\code\modules\utils\src\main\resources\maskedclasses\ConcurrentLinkedQueue.class
>>>>
>>>>
>>>> C:\Source\grizzly_new\grizzly\code\modules\utils\src\main\resources\maskedclasses\LinkedTransferQueue.class
>>>>
>>>>
>>>> C:\Source\grizzly_new\grizzly\code\modules\utils\src\main\resources\maskedclasses\ConcurrentLinkedQueue$Itr.class
>>>>
>>>>
>>>> C:\Source\grizzly_new\grizzly\code\modules\utils\src\main\resources\maskedclasses\LinkedTransferQueue$Itr.class
>>>>
>>>>
>>>> C:\Source\grizzly_new\grizzly\code\modules\utils\src\main\resources\maskedclasses\ConcurrentLinkedQueue$1.class
>>>>
>>>>
>>>> C:\Source\grizzly_new\grizzly\code\modules\utils\src\main\resources\maskedclasses\ThreadLocalRandom.class
>>>>
>>>>
>>>> C:\Source\grizzly_new\grizzly\code\modules\utils\src\main\resources\maskedclasses\LinkedTransferQueue$1.class
>>>>
>>>>
>>>> C:\Source\grizzly_new\grizzly\code\modules\utils\src\main\resources\maskedclasses\ConcurrentLinkedQueue$Node.class
>>>>
>>>>
>>>> C:\Source\grizzly_new\grizzly\code\modules\utils\src\main\resources\maskedclasses\ThreadLocalRandom$1.class
>>>>
>>>>
>>>> C:\Source\grizzly_new\grizzly\code\modules\utils\src\main\resources\maskedclasses\TransferQueue.class
>>>>
>>>>
>>>> C:\Source\grizzly_new\grizzly\code\modules\utils\src\main\resources\maskedclasses\LinkedTransferQueue$Node.class
>>>>
>>>> --
>>>> -------------
>>>> A+
>>>>
>>>> Sébastien.
>>>>
>>>> Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
>>>> http://twitter.com/survivant
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>
>>
>
>
> --
> regards
> gustav trede
>
>
>