summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ReferenceFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ReferenceFactory.cpp')
-rw-r--r--cpp/src/Ice/ReferenceFactory.cpp8
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;
}