| Stops execution of
System.runFinalization when a timeout is reach. This timer is
used in order to prevent system freeze that occurs sometime when waiting for finalization
in
UrlInputSpi.createInputStreamInstance . If a
finalize() method is blocked
in an I/O operation upon an interruptible channel, the channel will be closed and the finalize
method will receive a
java.nio.channels.ClosedByInterruptException .
See
Thread.interrupt javadoc for more details.
Most of the time, interruptions are never performed.
version: $Id: FinalizationStopper.java 25595 2007-05-20 13:58:56Z desruisseaux $ author: Martin Desruisseaux |