jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60818] Output of CSV files is not threadsafe
Date Sun, 05 Mar 2017 13:10:41 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60818

--- Comment #6 from Philippe Mouawad <p.mouawad@ubik-ingenierie.com> ---
(In reply to Felix Schumacher from comment #5)
> (In reply to Philippe Mouawad from comment #4)
> > As per:
> > http://stackoverflow.com/questions/11072253/is-printwriter-thread-safe
> > 
> > And reading code and javadocs of PrintWriter and Writer, I think Felix code
> > won't hurt as there is indeed no promise in PrintWriter that it will be
> > always thread safe.
> 
> Superfluos synchronisation may hurt, so it was correct to remove my patch.

That's why I was initially not ok with the patch.
But reading Javadocs, we may be taking a risk by not doing it.
And I don't know how it behaves in other JVMs than Oracle/OpenJDK

> 
> > 
> > Still, I am not sure the issue faced by user is due to that.
> > @Felix, did you reproduce some corruption yourself ?
> 
> I had seen such a corruption, but I have no way of reproducing it.
> 
> > 
> > Thanks
> > Regards

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message