Searched defs:finalize (Results 1 - 25 of 33) sorted by relevance

12

/libcore/luni/src/test/native/
H A Dlibcore_util_NativeAllocationRegistryTest.cpp26 static void finalize(uint64_t* ptr) { function
33 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&finalize));
/libcore/benchmarks/src/benchmarks/
H A DReferenceBenchmark.java100 protected void finalize() { method in class:ReferenceBenchmark.FinalizableObject
/libcore/ojluni/src/main/java/java/lang/
H A DObject.java517 * A subclass overrides the {@code finalize} method to dispose of
520 * The general contract of {@code finalize} is that it is invoked
526 * finalized. The {@code finalize} method may take any action, including
528 * of {@code finalize}, however, is to perform cleanup actions before
529 * the object is irrevocably discarded. For example, the finalize method
534 * The {@code finalize} method of class {@code Object} performs no
539 * invoke the {@code finalize} method for any given object. It is
540 * guaranteed, however, that the thread that invokes finalize will not
541 * be holding any user-visible synchronization locks when finalize is
542 * invoked. If an uncaught exception is thrown by the finalize metho
561 protected void finalize() throws Throwable { } method in class:Object
[all...]
H A DEnum.java290 * enum classes cannot have finalize methods.
292 protected final void finalize() { } method in class:Enum
/libcore/ojluni/src/main/java/java/net/
H A DSocketOutputStream.java178 * Overrides finalize, the fd is closed by the Socket.
180 protected void finalize() {} method in class:SocketOutputStream
H A DSocketInputStream.java272 * Overrides finalize, the fd is closed by the Socket.
274 protected void finalize() {} method in class:SocketInputStream
H A DAbstractPlainDatagramSocketImpl.java245 protected void finalize() { method in class:AbstractPlainDatagramSocketImpl
/libcore/ojluni/src/main/java/sun/security/ssl/
H A DSunJSSE.java237 protected final void finalize() throws Throwable { method in class:SunJSSE
239 super.finalize();
H A DBaseSSLSocketImpl.java247 protected final void finalize() throws Throwable { method in class:BaseSSLSocketImpl
261 // don't finalize self in the case of overlain sockets,
262 // that's a different object which the GC will finalize
265 super.finalize();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DRuntimeTest.java46 protected void finalize() { method in class:RuntimeTest.HasFinalizer
52 protected void finalize() { method in class:RuntimeTest
H A DSystemTest.java402 protected void finalize() { method in class:SystemTest
/libcore/luni/src/main/java/java/lang/ref/
H A DFinalizerReference.java133 * finalize() method is called, we know all previously-enqueued finalizable
139 @Override protected synchronized void finalize() throws Throwable { method in class:FinalizerReference.Sentinel
/libcore/luni/src/test/java/libcore/java/lang/ref/
H A DFinalizeTest.java54 @Override protected void finalize() throws Throwable {
55 super.finalize();
95 @Override protected void finalize() throws Throwable { method in class:FinalizeTest.ConstructionFails
102 * to finalize. Check that objects near that limit are okay.
117 @Override protected void finalize() throws Throwable {
118 System.out.println("finalize sleeping " + millis + " ms");
140 @Override protected void finalize() throws Throwable {
/libcore/ojluni/src/main/java/java/io/
H A DFileInputStream.java412 protected void finalize() throws IOException { method in class:FileInputStream
H A DFileOutputStream.java410 protected void finalize() throws IOException { method in class:FileOutputStream
H A DRandomAccessFile.java1155 @Override protected void finalize() throws Throwable { method in class:RandomAccessFile
1162 super.finalize();
/libcore/ojluni/src/main/java/javax/crypto/
H A DExemptionMechanism.java482 protected void finalize() { method in class:ExemptionMechanism
/libcore/ojluni/src/main/java/sun/net/www/
H A DMeteredStream.java206 protected void finalize() throws Throwable { method in class:MeteredStream
214 super.finalize();
/libcore/luni/src/main/java/libcore/util/
H A DZoneInfoDB.java262 @Override protected void finalize() throws Throwable { method in class:ZoneInfoDB.TzData
266 super.finalize();
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldObjectTest.java77 public void finalize() throws Throwable { method in class:OldObjectTest.MockObject
78 super.finalize();
/libcore/ojluni/src/main/java/java/util/zip/
H A DInflater.java365 * being used, but will also be called automatically by the finalize()
385 protected void finalize() { method in class:Inflater
H A DDeflater.java521 * finalize() method. Once this method is called, the behavior
540 protected void finalize() { method in class:Deflater
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
H A DURLJarFile.java94 protected void finalize() throws IOException { method in class:URLJarFile
/libcore/dalvik/src/main/java/dalvik/system/
H A DDexFile.java350 @Override protected void finalize() throws Throwable { method in class:DexFile
361 super.finalize();
/libcore/luni/src/main/java/java/util/concurrent/
H A DExecutors.java634 protected void finalize() { method in class:Executors.FinalizableDelegatedExecutorService

Completed in 406 milliseconds

12