summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-08-11 23:32:06 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-08-11 23:32:06 +0000
commit0dba224ee97eab452e6d9e210554c53e265f5481 (patch)
tree76f1d46c912cb76f5a2a5eb4a82b783f069aee23
parent3aa07152a5a3bb24c1bba909df4793454a484949 (diff)
downloadATCD-0dba224ee97eab452e6d9e210554c53e265f5481.tar.gz
*** empty log message ***
-rw-r--r--TAO/ChangeLog-98c6
-rw-r--r--TAO/tao/POA.cpp4
-rw-r--r--TAO/tao/POA.h4
3 files changed, 10 insertions, 4 deletions
diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c
index 1fd1ec4eda2..5ee30a692c5 100644
--- a/TAO/ChangeLog-98c
+++ b/TAO/ChangeLog-98c
@@ -1,3 +1,9 @@
+Tue Aug 11 18:24:13 1998 Irfan Pyarali <irfan@cs.wustl.edu>
+
+ * tao/POA.h (POA): Changed the children POA map from a Map_Manager
+ to a Hash_Map_Manager. This should improve the time it takes to
+ find child POAs.
+
Tue Aug 11 17:27:58 1998 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* docs/compiler.html : Updated the documentation.
diff --git a/TAO/tao/POA.cpp b/TAO/tao/POA.cpp
index d5c9ef5682e..2a2ff84e4f0 100644
--- a/TAO/tao/POA.cpp
+++ b/TAO/tao/POA.cpp
@@ -3344,7 +3344,7 @@ template class ACE_Lock_Adapter<ACE_Thread_Mutex>;
template class ACE_Map_Entry<TAO_Unbounded_Sequence<unsigned char>, TAO_ServantBase *>;
template class ACE_Map_Iterator<ACE_CString, TAO_POA *, ACE_Null_Mutex>;
template class ACE_Map_Iterator_Base<ACE_CString, TAO_POA *, ACE_Null_Mutex>;
-template class ACE_Map_Manager<ACE_CString, TAO_POA *, ACE_Null_Mutex>;
+template class ACE_Hash_Map_Manager<ACE_CString, TAO_POA *, ACE_Null_Mutex>;
template class ACE_Read_Guard<ACE_Lock>;
template class ACE_Unbounded_Set<TAO_POA *>;
template class ACE_Unbounded_Set_Iterator<TAO_POA *>;
@@ -3383,7 +3383,7 @@ template class ACE_Node<TAO_POA *>;
#pragma instantiate ACE_Map_Entry<TAO_Unbounded_Sequence<unsigned char>, TAO_ServantBase *>
#pragma instantiate ACE_Map_Iterator<ACE_CString, TAO_POA *, ACE_Null_Mutex>
#pragma instantiate ACE_Map_Iterator_Base<ACE_CString, TAO_POA *, ACE_Null_Mutex>
-#pragma instantiate ACE_Map_Manager<ACE_CString, TAO_POA *, ACE_Null_Mutex>
+#pragma instantiate ACE_Hash_Map_Manager<ACE_CString, TAO_POA *, ACE_Null_Mutex>
#pragma instantiate ACE_Read_Guard<ACE_Lock>
#pragma instantiate ACE_Unbounded_Set<TAO_POA *>
#pragma instantiate ACE_Unbounded_Set_Iterator<TAO_POA *>
diff --git a/TAO/tao/POA.h b/TAO/tao/POA.h
index 0a83a41dfd9..7c12fbe10dd 100644
--- a/TAO/tao/POA.h
+++ b/TAO/tao/POA.h
@@ -36,7 +36,7 @@
#include "ace/SString.h"
// Map
-#include "ace/Map_Manager.h"
+#include "ace/Hash_Map_Manager.h"
// Vector
#include "ace/Containers.h"
@@ -727,7 +727,7 @@ protected:
PortableServer::Servant default_servant_;
- typedef ACE_Map_Manager<String, TAO_POA *, ACE_Null_Mutex> CHILDREN;
+ typedef ACE_Hash_Map_Manager<String, TAO_POA *, ACE_Null_Mutex> CHILDREN;
CHILDREN children_;