Daniel Dekany wrote:

Monday, December 15, 2003, 6:52:38 PM, Stephen McConnell wrote:

[snip]


In particular we have the following (implementation) reference:

System.runFinalization():




[snip]

"Deprecated. This method is inherently unsafe. It may result in
finalizers being called on live objects while other threads are
concurrently manipulating those objects, resulting in erratic behavior
or deadlock."



The System.runFinalization() is not depricated - at least according to the 1.4.2 documentation. Maybe your thinking of the runFinializationOnExt( boolean ) which is deprecated.



Oops! True, I meant runFinializationOnExit. Maybe this works then. OTOH the components may finalized before the proxy, as it was proven in another mail, so...


I read the mail - and marked it up to re-read along with a dozen others. But just as a note - does it matter if a component has had its finalizer invoked by the system before the proxy invokes component decommissioning?

Stephen.





--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to