diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-11-29 22:38:25 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-11-29 22:38:25 +0000 |
commit | 9694a436f49ee63b644e2b66a70a5e79462aa341 (patch) | |
tree | e430f07fa61fd638ecbf8c90cc233d0c6baf94dd /tests/Malloc_Test.cpp | |
parent | 2adfbb48f23b1a9e9d54f55cf2d5088e76824229 (diff) | |
download | ATCD-9694a436f49ee63b644e2b66a70a5e79462aa341.tar.gz |
ChangeLogTag:Mon Nov 29 16:36:06 1999 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'tests/Malloc_Test.cpp')
-rw-r--r-- | tests/Malloc_Test.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/Malloc_Test.cpp b/tests/Malloc_Test.cpp index 1d658d160ad..e60f8a7a1da 100644 --- a/tests/Malloc_Test.cpp +++ b/tests/Malloc_Test.cpp @@ -213,6 +213,15 @@ main (int argc, ASYS_TCHAR *[]) ACE_START_TEST (ASYS_TEXT ("Malloc_Test")); ACE_INIT_LOG (ASYS_TEXT ("Malloc_Test-child")); +#if 0 + cout << "Sizeof header padding: " << ACE_MALLOC_PADDING << endl + << "Sizeof header pointer: " << sizeof (ACE_MALLOC_HEADER_PTR) << endl + << "Sizeof size_t: " << sizeof (size_t) << endl + << "Sizeof long: " << sizeof (long) << endl + << "Sizeof (Malloc Header): " << sizeof (ACE_Malloc_Header) << endl + // << "Sizeof padding size: " << ACE_MALLOC_PADDING_SIZE << endl + ; +#endif // No arguments means we're the parent process. ACE_Process_Options options (1); options.command_line (ACE_TEXT (".") @@ -222,6 +231,7 @@ main (int argc, ASYS_TCHAR *[]) ACE_TEXT (" run_as_test")); MALLOC *myalloc = myallocator (PARENT_BASE_ADDR); + Test_Data *data = initialize (myalloc); ACE_ASSERT (data != 0); |