summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/Outgoing.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2005-04-29 18:17:14 +0000
committerMark Spruiell <mes@zeroc.com>2005-04-29 18:17:14 +0000
commit19b5869472e679fb244709a53a1bb8b79ec5186f (patch)
treef65bbf8032a89f96a3c55c468d00e04a7e43edf5 /java/src/IceInternal/Outgoing.java
parentAdded call to srand48() (diff)
downloadice-19b5869472e679fb244709a53a1bb8b79ec5186f.tar.bz2
ice-19b5869472e679fb244709a53a1bb8b79ec5186f.tar.xz
ice-19b5869472e679fb244709a53a1bb8b79ec5186f.zip
- Removing BufferManager class and BasicStream.destroy(), which reduces the
complexity of many existing finalizers. - Removed code that cleans up cached objects. - For compatibility with C#, finalizers no longer call methods on other objects.
Diffstat (limited to 'java/src/IceInternal/Outgoing.java')
-rw-r--r--java/src/IceInternal/Outgoing.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/java/src/IceInternal/Outgoing.java b/java/src/IceInternal/Outgoing.java
index 81e945334e4..914944dc420 100644
--- a/java/src/IceInternal/Outgoing.java
+++ b/java/src/IceInternal/Outgoing.java
@@ -27,23 +27,6 @@ public final class Outgoing
}
//
- // Do NOT use a finalizer, this would cause a severe performance
- // penalty! We must make sure that destroy() is called instead, to
- // reclaim resources.
- //
- public void
- destroy()
- {
- assert(_is != null);
- _is.destroy();
- _is = null;
-
- assert(_os != null);
- _os.destroy();
- _os = null;
- }
-
- //
// This function allows this object to be reused, rather than
// reallocated.
//