Re: [asm] Re: comparison between BCEL and ASM
Torsten Curdt <[email protected]>
| Newsgroups | gmane.comp.jakarta.bcel.devel,gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
> Aside, from what we experienced in AspectWerkz, the BCEL so called > Repository is just broken when you have some classloader hierarchies > and multi threaded instrumentation. We ended up in writting our own > hack for that. With ASM, we implemented our own repository, that does > not suffer from that weakness: > http://svn.apache.org/viewcvs.cgi/jakarta/bcel/trunk/src/java/org/apache/bcel/Repository.java?rev=152903&view=markup > This class contains only static methods, so you have to carrully avoid > using it (and any variant like ClassLoaderRepository) since f.e. when > doing on the fly instrumentation, it is obvious that 2 threads can do > instrumentation for 2 different classloader. Yepp ...that repository stuff is just a PITA I clearly requires some (re)design cheers -- Torsten
signature.asc
(application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCfrRTBGM6V3wgCUERAsuWAJ0eP/YLG/VkZg9l7R2+tc5OF4QkWgCfQ4uC Ae7jKvWRytcECuFZ1lNtoS8= =fL4j -----END PGP SIGNATURE-----