Lines Matching refs:finalize
534 * A subclass overrides the {@code finalize} method to dispose of
537 * The general contract of {@code finalize} is that it is invoked
543 * finalized. The {@code finalize} method may take any action, including
545 * of {@code finalize}, however, is to perform cleanup actions before
546 * the object is irrevocably discarded. For example, the finalize method
551 * The {@code finalize} method of class {@code Object} performs no
556 * invoke the {@code finalize} method for any given object. It is
557 * guaranteed, however, that the thread that invokes finalize will not
558 * be holding any user-visible synchronization locks when finalize is
559 * invoked. If an uncaught exception is thrown by the finalize method,
562 * After the {@code finalize} method has been invoked for an object, no
569 * The {@code finalize} method is never invoked more than once by a Java
572 * Any exception thrown by the {@code finalize} method causes
581 protected void finalize() throws Throwable { }