[prev in list] [next in list] [prev in thread] [next in thread]
List: bcel-dev
Subject: Re: bcel question (threading)
From: Torsten Curdt <tcurdt () apache ! org>
Date: 2007-08-13 23:48:36
Message-ID: F04A47F7-BA9B-49EC-9807-57D9BFF46E1B () apache ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic