[concurrency-interest] PooledLinkedBlockingQueue

Jean Morissette jean.morissette666@videotron.ca
Wed, 03 Nov 2004 20:24:35 -0500


Jeff Schultz wrote:
> Try it with a
> smaller number of nodes in use, or change the GC parameters to
> increase the size of the nursery and I'd expect you to see different
> performance.

I have changed the test in the 'warn up loop' to remove a node after 
adding it to the list, so there is no more than one node all the time. 
Now, the performance difference is much lesser, but PooledLinkedList is 
a little more fast.
       LinkedList:  12000 ms
PooledLinkedList:   9500 ms