summaryrefslogtreecommitdiff
path: root/ace/PI_Malloc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/PI_Malloc.cpp')
-rw-r--r--ace/PI_Malloc.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/PI_Malloc.cpp b/ace/PI_Malloc.cpp
index 031d8b53d7e..2c8b503cd99 100644
--- a/ace/PI_Malloc.cpp
+++ b/ace/PI_Malloc.cpp
@@ -21,17 +21,20 @@ ACE_RCSID (ace,
void
ACE_PI_Control_Block::ACE_Malloc_Header::dump (void) const
{
+#if defined (ACE_HAS_DUMP)
ACE_TRACE ("ACE_PI_Control_Block::ACE_Malloc_Header::dump");
ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nnext_block = %x"), (ACE_Malloc_Header *) this->next_block_));
ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nsize = %d\n"), this->size_));
ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
+#endif /* ACE_HAS_DUMP */
}
void
ACE_PI_Control_Block::print_alignment_info (void)
{
+#if defined (ACE_HAS_DUMP)
ACE_TRACE ("ACE_PI_Control_Block::ACE_Control_Block::print_alignment_info");
ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("Start ---> ACE_PI_Control_Block::print_alignment_info:\n")));
ACE_DEBUG ((LM_DEBUG,
@@ -61,11 +64,13 @@ ACE_PI_Control_Block::print_alignment_info (void)
sizeof (ACE_PI_Control_Block)
));
ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("End <--- ACE_PI_Control_Block::print_alignment_info:\n")));
+#endif /* ACE_HAS_DUMP */
}
void
ACE_PI_Control_Block::dump (void) const
{
+#if defined (ACE_HAS_DUMP)
ACE_TRACE ("ACE_PI_Control_Block::dump");
ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
@@ -86,6 +91,7 @@ ACE_PI_Control_Block::dump (void) const
ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\n")));
ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
+#endif /* ACE_HAS_DUMP */
}
ACE_PI_Control_Block::ACE_Name_Node::ACE_Name_Node (void)
@@ -137,6 +143,7 @@ ACE_PI_Control_Block::ACE_Malloc_Header::ACE_Malloc_Header (void)
void
ACE_PI_Control_Block::ACE_Name_Node::dump (void) const
{
+#if defined (ACE_HAS_DUMP)
ACE_TRACE ("ACE_PI_Control_Block::ACE_Name_Node::dump");
ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
@@ -148,6 +155,7 @@ ACE_PI_Control_Block::ACE_Name_Node::dump (void) const
(const char *) this->name_));
ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT("\n")));
ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
+#endif /* ACE_HAS_DUMP */
}