Thanks, I see - so the additional synchronized(storedValues) blocks
you added are for the cases where two or more calls need to be done as
part of the same transaction.

S.
On 07/09/05, studdugie <[EMAIL PROTECTED]> wrote:
> The short version of an answer to your question would be, see line 86 of
> org.apache.jmeter.visualizers.SamplingStatCalculator.
>  
>  The long version is, when I first decided I was going to try to fix this
> bug I really didn't plan on trying to _fix_ the bug. I took a, "I'll just
> throw something at it approach", and changed it from an ArrayList to a
> Vector because Vector is more thread safe than ArrayList. Eventually, I
> decided I was going to really study the problem and try to fix it for real,
> so when I started studying the problem in ernest I realized that Vector
> turned out to be a better choice than ArrayList because saved me from having
> to change line 86 to:
>  synchronized( storedValues ){
>      storedValues.clear();
> 
>  }
> 
> On 9/7/05, sebb <[EMAIL PROTECTED]> wrote:
> > Not quite sure why you changed ArrayList to Vector in
> > SamplingStatCalculator.java.
> > 
> > Was it to avoid some additional synchronisation, e.g. in methods such
> > as getSample() ?
> > 
> > S.
> > On 07/09/05, studdugie < [EMAIL PROTECTED]> wrote:
> > > I've posted the patch as promised but I'm unsubscribing from the list.
> If
> > > anyone has any questions, comments, or concerns about the patches please
> > > email me directly at this email address.
> > >
> > > Thank you.
> > >
> > > Dane
> > >
> > > On 9/7/05, Michael Stover <[EMAIL PROTECTED]> wrote:
> > > > 
> > > > 2.1.1 : +1
> > > >
> > > > On Tue, 2005-09-06 at 17:56 -0400, Peter Lin wrote:
> > > > > I vote for 2.1.1
> > > > >
> > > > >
> > > > > peter
> > > > >
> > > > > 
> > > > > On 9/6/05, sebb <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > I would think within a week or so, depends on what else would be
> worth 
> > > > > > fixing, plus finding time to do the build, collect votes etc.
> > > > > >
> > > > > > By the way, what should it be called?
> > > > > >
> > > > > > 2.1.1 or 2.2 or ?
> > > > > >
> > > > > > It would be useful to decide that so Bugzilla can be updated in
> > > > > > advance - should probably get the next version added at the same
> time.
> > > > > > 
> > > > > > S.
> > > > > > On 06/09/05, Peter Lin <[EMAIL PROTECTED]> wrote:
> > > > > > > I need to write some graph classes to produce the charts and
> graphs, 
> > > > so
> > > > > > I
> > > > > > > thought I might as well extend the aggregate listener. When do
> we
> > > > plan
> > > > > > on
> > > > > > > releasing a new version of 2.1?
> > > > > > >
> > > > > > > peter
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > > > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> [EMAIL PROTECTED] 
> > > >
> > > >
> > >
> > >
> > 
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to