summaryrefslogtreecommitdiff
path: root/ace/Malloc_T.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-09 04:16:51 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-09 04:16:51 +0000
commit54145635fb7dc00df42bb465a2db1894c38cc203 (patch)
tree32b33e4a31aecb671c35def84c5d96ddcc6d011b /ace/Malloc_T.cpp
parent527ed8a2b05a94c5ea319c96f9b49ebe3f4d2fe5 (diff)
downloadATCD-54145635fb7dc00df42bb465a2db1894c38cc203.tar.gz
ChangeLogTag:Sun Apr 09 00:04:25 2000 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace/Malloc_T.cpp')
-rw-r--r--ace/Malloc_T.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/ace/Malloc_T.cpp b/ace/Malloc_T.cpp
index 4ca5600897e..d6d4c96a54d 100644
--- a/ace/Malloc_T.cpp
+++ b/ace/Malloc_T.cpp
@@ -159,12 +159,6 @@ ACE_Malloc_T<ACE_MEM_POOL_2, ACE_LOCK, ACE_CB>::open (void)
{
// ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("(%P|%t) first time in, control block = %u\n"), this->cb_ptr_));
-#if defined (ACE_HAS_MALLOC_STATS)
- // Call the constructor on the ACE_LOCK, using the placement
- // operator!
- new ((void *) &this->cb_ptr_->malloc_stats_) ACE_Malloc_Stats;
-#endif /* ACE_HAS_MALLOC_STATS */
-
MALLOC_HEADER::init_ptr (&this->cb_ptr_->freep_,
&this->cb_ptr_->base_,
this->cb_ptr_);
@@ -278,9 +272,6 @@ ACE_Malloc_T<ACE_MEM_POOL_2, ACE_LOCK, ACE_CB>::remove (void)
#if defined (ACE_HAS_MALLOC_STATS)
this->print_stats ();
-
- ACE_DES_NOFREE (this->cb_ptr_->malloc_stats_,
- ACE_Malloc_Stats);
#endif /* ACE_HAS_MALLOC_STATS */
// Remove the ACE_LOCK.