Kedy dojde k odstraneniu objektu?
Filip Jirsák
filip.jirsak na gmail.com
Čtvrtek Únor 26 08:45:36 CET 2009
Raději bych na tuto metodu nespoléhal, je deprecated s tímto komentářem:
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.
Filip Jirsák
> teď jsem ještě čirou náhodou objevil
>
> System.runFinalizersOnExit(boolean)
>
> na což by se asi dalo spolehnout...
> --
> Martin Beránek
> ICZ a.s., Pobočka Brno
>Londýnské náměstí 2/856, 639 00 Brno
> Tel.: +420 244 100 333
> Fax.: +420 244 100 344
> mailto:martin.beranek na i.cz
> http://www.i.cz
Další informace o konferenci Konference