Lines Matching refs:finalize
509 * A subclass overrides the {@code finalize} method to dispose of
512 * The general contract of {@code finalize} is that it is invoked
518 * finalized. The {@code finalize} method may take any action, including
520 * of {@code finalize}, however, is to perform cleanup actions before
521 * the object is irrevocably discarded. For example, the finalize method
526 * The {@code finalize} method of class {@code Object} performs no
531 * invoke the {@code finalize} method for any given object. It is
532 * guaranteed, however, that the thread that invokes finalize will not
533 * be holding any user-visible synchronization locks when finalize is
534 * invoked. If an uncaught exception is thrown by the finalize method,
537 * After the {@code finalize} method has been invoked for an object, no
544 * The {@code finalize} method is never invoked more than once by a Java
547 * Any exception thrown by the {@code finalize} method causes
553 protected void finalize() throws Throwable { }