You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-dev@jakarta.apache.org by Torsten Curdt <tc...@apache.org> on 2007/08/14 01:48:36 UTC
Re: bcel question (threading)
Hi Ben
> Do you know if bcel.jar 5.2 is thread safe? We had some threading
> issues and wrote some tests that made is painfully clear that
> bcel.jar 5.1 is NOT thread safe (as the apache bcel website make
> clear), but then we updated to bcel.jar 5.2 for the heck of it and
> we could run 500 threads against it without problem where the 5.1
> version would even fail with at little as 2 threads occasionally.
Interesting. Care to provide these tests for trunk?
> I see the BCEL FAQ still says it is NOT thread-safe and the change
> logs don't indicate that it was made to be thread-safe although my
> tests seem to indicate it is. Can you clarify this?
Unfortunately BCEL still uses e.g. a static class repository.
http://svn.apache.org/repos/asf/jakarta/bcel/trunk/src/main/java/
org/apache/bcel/Repository.java
So I fear the FAQ is still up to date.
HTH
--
Torsten
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-dev-help@jakarta.apache.org