diff options
author | Marc Laukien <marc@zeroc.com> | 2003-03-23 01:06:21 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2003-03-23 01:06:21 +0000 |
commit | 1d083a7d45f66f08e07f31e214333ed0509a7160 (patch) | |
tree | e2cba5cfbefc807b54a70ef485869b6c1b5c9d42 /cpp/src/Ice/ReferenceFactory.cpp | |
parent | incoming fix (diff) | |
download | ice-1d083a7d45f66f08e07f31e214333ed0509a7160.tar.bz2 ice-1d083a7d45f66f08e07f31e214333ed0509a7160.tar.xz ice-1d083a7d45f66f08e07f31e214333ed0509a7160.zip |
fix
Diffstat (limited to 'cpp/src/Ice/ReferenceFactory.cpp')
-rw-r--r-- | cpp/src/Ice/ReferenceFactory.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/Ice/ReferenceFactory.cpp b/cpp/src/Ice/ReferenceFactory.cpp index 476623ac06f..fb3264f98e8 100644 --- a/cpp/src/Ice/ReferenceFactory.cpp +++ b/cpp/src/Ice/ReferenceFactory.cpp @@ -60,6 +60,13 @@ IceInternal::ReferenceFactory::create(const Identity& ident, ReferencePtr ref = new Reference(_instance, ident, facet, mode, secure, adapterId, endpoints, routerInfo, locatorInfo, reverseAdapter, collocationOptimization); + +// +// This code is currently not used, because the eviction code below is +// too slow when there are a large number of references. The savings +// are also rather questionable. +// +/* // // If we already have an equivalent reference, use such equivalent // reference. Otherwise add the new reference to the reference @@ -110,6 +117,7 @@ IceInternal::ReferenceFactory::create(const Identity& ident, } } } +*/ return ref; } |