#include <Malloc.h>
Collaboration diagram for ACE_Control_Block::ACE_Malloc_Header:

Public Methods | |
| ACE_Malloc_Header (void) | |
| void | dump (void) const |
| Dump the state of the object. More... | |
Static Public Methods | |
| void | init_ptr (ACE_Malloc_Header **ptr, ACE_Malloc_Header *init, void *base_addr) |
| Initialize a malloc header pointer. More... | |
Public Attributes | |
| ACE_Malloc_Header * | next_block_ |
| Points to next block if on free list. More... | |
| size_t | size_ |
| Size of this header control block. More... | |
| long | padding_ [ACE_MALLOC_PADDING_SIZE< 1?1:ACE_MALLOC_PADDING_SIZE] |
Definition at line 269 of file Malloc.h.
|
|
Definition at line 140 of file Malloc.cpp. Referenced by dump.
00141 : next_block_ (0), 00142 size_ (0) 00143 { 00144 } |
|
|
Dump the state of the object.
Definition at line 27 of file Malloc.cpp. References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_LIB_TEXT, ACE_Malloc_Header, ACE_TRACE, and LM_DEBUG. Referenced by ACE_Control_Block::dump.
00028 {
00029 ACE_TRACE ("ACE_Control_Block::ACE_Malloc_Header::dump");
00030
00031 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00032 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nnext_block = %@"), (ACE_Malloc_Header *) this->next_block_));
00033 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nsize = %d\n"), this->size_));
00034 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00035 }
|
|
||||||||||||||||
|
Initialize a malloc header pointer.
Definition at line 11 of file Malloc.i.
00012 {
00013 *ptr = init;
00014 }
|
|
|
Points to next block if on free list.
Definition at line 275 of file Malloc.h. Referenced by ACE_Control_Block::dump. |
|
|
|
|
|
Size of this header control block.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002