>>>>> "Peter" == Peter Royal <[EMAIL PROTECTED]> writes:
Peter> I've attached a simple test to illustrate the problem. It Peter> takes a single Peter> argument which is the number of elements to queue up, Peter> 1000000 is a good start to expose the error. As far as I can tell there is a bug in method add in rev 1.2-1.4 of VariableSizeBuffer. The way it handles array growth is not right when (m_tail < m_head). Buffer ends up containing a bunch of nulls that were never put there. I will try to produce a test case and a fix tomorrow unless somebody beats me to it... And I could also reproduce Peter's results with current CVS code. Starting test Test complete Enqueue: 1000000 Dequeue: 950846 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>