summaryrefslogtreecommitdiff
path: root/ace/Malloc.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-04-09 21:21:21 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-04-09 21:21:21 +0000
commit49f429132a0d41ef6d6d58dec4fb735c5decc5a5 (patch)
treed764369ec52fd77727d164e21e8ec072ebd0180e /ace/Malloc.cpp
parent7fde5f76146c6c3aed3f0a302192ef0e32cf2b12 (diff)
downloadATCD-49f429132a0d41ef6d6d58dec4fb735c5decc5a5.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Malloc.cpp')
-rw-r--r--ace/Malloc.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/ace/Malloc.cpp b/ace/Malloc.cpp
index 57f94a23874..5addf5e1ddd 100644
--- a/ace/Malloc.cpp
+++ b/ace/Malloc.cpp
@@ -119,6 +119,20 @@ ACE_Allocator::~ACE_Allocator (void)
ACE_TRACE ("ACE_Allocator::~ACE_Allocator");
}
+void
+ACE_Static_Allocator_Base::dump (void) const
+{
+ ACE_TRACE ("ACE_Static_Base_Allocator::dump");
+
+ ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("\noffset_ = %d"), this->offset_));
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("\nsize_ = %d\n"), this->size_));
+ ACE_HEX_DUMP ((LM_DEBUG, this->buffer_, this->size_));
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("\n")));
+
+ ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
+}
+
#if defined (ACE_HAS_MALLOC_STATS)
ACE_Malloc_Stats::ACE_Malloc_Stats (void)
: nblocks_ (0),
@@ -151,6 +165,5 @@ template class ACE_Atomic_Op<ACE_PROCESS_MUTEX, int>;
#pragma instantiate ACE_Atomic_Op<ACE_PROCESS_MUTEX, int>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-
#endif /* ACE_HAS_MALLOC_STATS */
#endif /* ACE_MALLOC_C */