avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@dff.st>
Subject Re: [RT] pooling vs. release
Date Thu, 01 Aug 2002 17:11:54 GMT
On Thursday 01 August 2002 19:07, Berin Loritsch wrote:
> > From: Berin Loritsch [mailto:bloritsch@apache.org]
> >
> > BTW, fillInStackTrace() is a native method (AKA a JNI method).
>
> oh yeah, it is synchronized as well.
>
> Creating tons of exceptions in a multithreaded environment is
> not advised.

well, a boolean should do it (see example) and the Exception could be created 
in finalize. Is there any other way a component could be aware of if it is 
used or not?
--
Torsten

--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message