/libcore/luni/src/test/native/ |
H A D | libcore_util_NativeAllocationRegistryTest.cpp | 26 static void finalize(uint64_t* ptr) { function 33 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&finalize));
|
/libcore/luni/src/test/java/libcore/java/lang/ref/ |
H A D | FinalizeTest.java | 54 @Override protected void finalize() throws Throwable { 55 super.finalize(); 102 @Override protected void finalize() throws Throwable { method in class:FinalizeTest.ConstructionFails 109 * to finalize. Check that objects near that limit are okay. 122 @Override protected void finalize() throws Throwable { 123 System.out.println("finalize sleeping " + millis + " ms"); 145 @Override protected void finalize() throws Throwable {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | RuntimeTest.java | 46 protected void finalize() { method in class:RuntimeTest.HasFinalizer 52 protected void finalize() { method in class:RuntimeTest
|
/libcore/dalvik/test-rules/src/test/java/dalvik/system/ |
H A D | CloseGuardSupportTest.java | 107 assertEquals("Class java.lang.String does not have a finalize() method", 137 protected void finalize() throws Throwable { 138 super.finalize(); 164 protected void finalize() throws Throwable { 166 super.finalize();
|
/libcore/ojluni/src/main/java/sun/net/www/ |
H A D | MeteredStream.java | 206 protected void finalize() throws Throwable { method in class:MeteredStream 214 super.finalize();
|
/libcore/dalvik/src/test/java/dalvik/system/ |
H A D | CloseGuardTest.java | 164 * Make finalize public so that it can be tested directly without relying on garbage 168 public void finalize() throws Throwable { method in class:CloseGuardTest.ResourceOwner 170 super.finalize();
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Object.java | 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 metho 581 protected void finalize() throws Throwable { } method in class:Object [all...] |
H A D | Enum.java | 293 * enum classes cannot have finalize methods. 295 protected final void finalize() { } method in class:Enum
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldObjectTest.java | 77 public void finalize() throws Throwable { method in class:OldObjectTest.MockObject 78 super.finalize();
|
H A D | ThreadTest.java | 319 @Override protected void finalize() throws Throwable { 320 super.finalize();
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | SocketOutputStream.java | 174 * Overrides finalize, the fd is closed by the Socket. 176 protected void finalize() {} method in class:SocketOutputStream
|
H A D | SocketInputStream.java | 289 * Overrides finalize, the fd is closed by the Socket. 291 protected void finalize() {} method in class:SocketInputStream
|
/libcore/benchmarks/src/benchmarks/ |
H A D | ReferenceBenchmark.java | 100 protected void finalize() { method in class:ReferenceBenchmark.FinalizableObject
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
H A D | SoftReferenceTest.java | 89 protected void finalize() {
|
H A D | ReferenceTest.java | 149 * get called, and that clear/enqueue/finalize happen in the 154 * java.lang.Object#finalize() 168 protected void finalize() { 271 protected void finalize() { 283 "' in finalize()"); 305 assertTrue("finalize() should have been called.",
|
/libcore/luni/src/main/java/java/lang/ref/ |
H A D | FinalizerReference.java | 141 * finalize() method is called, we know all previously-enqueued finalizable 147 @Override protected synchronized void finalize() throws Throwable { method in class:FinalizerReference.Sentinel
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | FileInputStream.java | 415 protected void finalize() throws IOException { method in class:FileInputStream
|
H A D | FileOutputStream.java | 418 protected void finalize() throws IOException { method in class:FileOutputStream
|
/libcore/ojluni/src/main/java/java/util/zip/ |
H A D | Inflater.java | 367 * being used, but will also be called automatically by the finalize() 387 protected void finalize() { method in class:Inflater
|
H A D | ZipFile.java | 464 protected void finalize() throws Throwable { method in class:ZipFile.ZipFileInflaterInputStream 694 protected void finalize() throws IOException { method in class:ZipFile 816 protected void finalize() { method in class:ZipFile.ZipFileInputStream
|
H A D | Deflater.java | 537 * finalize() method. Once this method is called, the behavior 556 protected void finalize() { method in class:Deflater
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | UnixDirectoryStream.java | 241 protected void finalize() throws IOException { method in class:UnixDirectoryStream
|
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | DexFile.java | 333 @Override protected void finalize() throws Throwable { method in class:DexFile 341 super.finalize();
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | UnixAsynchronousServerSocketChannelImpl.java | 136 protected void finalize() throws Throwable { method in class:UnixAsynchronousServerSocketChannelImpl 143 super.finalize();
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
H A D | ExpatParser.java | 549 @Override protected synchronized void finalize() throws Throwable { method in class:ExpatParser 556 super.finalize(); 657 @Override protected synchronized void finalize() throws Throwable { method in class:ExpatParser.ClonedAttributes 664 super.finalize(); 796 protected synchronized void finalize() throws Throwable { method in class:ExpatParser.EntityParser
|