From 9694a436f49ee63b644e2b66a70a5e79462aa341 Mon Sep 17 00:00:00 2001 From: nanbor Date: Mon, 29 Nov 1999 22:38:25 +0000 Subject: ChangeLogTag:Mon Nov 29 16:36:06 1999 Nanbor Wang --- tests/Malloc_Test.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/Malloc_Test.cpp') 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); -- cgit v1.2.1