jakarta-bcel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@apache.org>
Subject Re: bcel question (threading)
Date Mon, 13 Aug 2007 23:48:36 GMT
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


Mime
View raw message