summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-05-03 21:03:59 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-05-03 21:03:59 +0000
commitcbd3f58e63504706a47663720289eb4f1f8efe31 (patch)
tree535ba8d6c11fdc42f54c8d3a7a7c182270f65c08
parent65cf8ef9e9fb6a11dbbaba11dddc0e9dadbf0206 (diff)
downloadATCD-cbd3f58e63504706a47663720289eb4f1f8efe31.tar.gz
ChangeLogTag:Thu May 3 16:00:15 2001 Nanbor Wang <nanbor@cs.wustl.edu>
-rw-r--r--ChangeLog16
-rw-r--r--ChangeLogs/ChangeLog-02a16
-rw-r--r--ChangeLogs/ChangeLog-03a16
-rw-r--r--ace/Malloc.h2
-rw-r--r--ace/PI_Malloc.h2
5 files changed, 37 insertions, 15 deletions
diff --git a/ChangeLog b/ChangeLog
index 1a4228901de..f1cbadb7ce6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
+Thu May 3 16:00:15 2001 Nanbor Wang <nanbor@cs.wustl.edu>
+
+ * ace/Malloc.h:
+ * ace/PI_Malloc.h: Fixed the [PI_]Control_Block size estimation
+ macros. I added a new member to control block.
+
Thu May 3 14:52:33 2001 Balachandran Natarajan <bala@cs.wustl.edu>
- * ace/CDR_Stream.h (ACE_InputCDR):
+ * ace/CDR_Stream.h (ACE_InputCDR):
* ace/CDR_Stream.cpp: Removed the method steal_data () as it did
not serve the purpose. Added a new method exchange_data_blocks
(). This method exchanges data_blocks between two CDR
@@ -38,7 +44,7 @@ Thu May 3 08:00:56 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Thu May 3 07:42:01 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* examples/IPC_SAP/FILE_SAP/client.cpp: Fixed a warning with Linux
- builds.
+ builds.
Wed May 2 22:55:25 2001 Balachandran Natarajan <bala@cs.wustl.edu>
@@ -46,7 +52,7 @@ Wed May 2 22:55:25 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* examples/ASX/UPIPE_Event_Server/Options.cpp:
* examples/IPC_SAP/FILE_SAP/client.cpp:
* examples/Naming/test_open.cpp:
- * examples/Naming/test_writers.cpp: Fixed warnings in g++ builds.
+ * examples/Naming/test_writers.cpp: Fixed warnings in g++ builds.
Wed May 2 18:36:29 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
@@ -56,12 +62,12 @@ Wed May 2 18:36:29 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
Wed May 2 15:10:28 2001 Balachandran Natarajan <bala@cs.wustl.edu>
- * ace/CDR_Stream.h (ACE_InputCDR):
+ * ace/CDR_Stream.h (ACE_InputCDR):
* ace/CDR_Stream.cpp: Added a new constructor for ACE_inputCDR
class. This constructor would take the data block with a
pre-determined read and write pointer positions. This is helpful
when an application would like to create a CDR stream with a
- smei-processed data block.
+ smei-processed data block.
Wed May 2 11:10:59 2001 Balachandran Natarajan <bala@cs.wustl.edu>
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index 1a4228901de..f1cbadb7ce6 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,6 +1,12 @@
+Thu May 3 16:00:15 2001 Nanbor Wang <nanbor@cs.wustl.edu>
+
+ * ace/Malloc.h:
+ * ace/PI_Malloc.h: Fixed the [PI_]Control_Block size estimation
+ macros. I added a new member to control block.
+
Thu May 3 14:52:33 2001 Balachandran Natarajan <bala@cs.wustl.edu>
- * ace/CDR_Stream.h (ACE_InputCDR):
+ * ace/CDR_Stream.h (ACE_InputCDR):
* ace/CDR_Stream.cpp: Removed the method steal_data () as it did
not serve the purpose. Added a new method exchange_data_blocks
(). This method exchanges data_blocks between two CDR
@@ -38,7 +44,7 @@ Thu May 3 08:00:56 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Thu May 3 07:42:01 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* examples/IPC_SAP/FILE_SAP/client.cpp: Fixed a warning with Linux
- builds.
+ builds.
Wed May 2 22:55:25 2001 Balachandran Natarajan <bala@cs.wustl.edu>
@@ -46,7 +52,7 @@ Wed May 2 22:55:25 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* examples/ASX/UPIPE_Event_Server/Options.cpp:
* examples/IPC_SAP/FILE_SAP/client.cpp:
* examples/Naming/test_open.cpp:
- * examples/Naming/test_writers.cpp: Fixed warnings in g++ builds.
+ * examples/Naming/test_writers.cpp: Fixed warnings in g++ builds.
Wed May 2 18:36:29 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
@@ -56,12 +62,12 @@ Wed May 2 18:36:29 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
Wed May 2 15:10:28 2001 Balachandran Natarajan <bala@cs.wustl.edu>
- * ace/CDR_Stream.h (ACE_InputCDR):
+ * ace/CDR_Stream.h (ACE_InputCDR):
* ace/CDR_Stream.cpp: Added a new constructor for ACE_inputCDR
class. This constructor would take the data block with a
pre-determined read and write pointer positions. This is helpful
when an application would like to create a CDR stream with a
- smei-processed data block.
+ smei-processed data block.
Wed May 2 11:10:59 2001 Balachandran Natarajan <bala@cs.wustl.edu>
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 1a4228901de..f1cbadb7ce6 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,6 +1,12 @@
+Thu May 3 16:00:15 2001 Nanbor Wang <nanbor@cs.wustl.edu>
+
+ * ace/Malloc.h:
+ * ace/PI_Malloc.h: Fixed the [PI_]Control_Block size estimation
+ macros. I added a new member to control block.
+
Thu May 3 14:52:33 2001 Balachandran Natarajan <bala@cs.wustl.edu>
- * ace/CDR_Stream.h (ACE_InputCDR):
+ * ace/CDR_Stream.h (ACE_InputCDR):
* ace/CDR_Stream.cpp: Removed the method steal_data () as it did
not serve the purpose. Added a new method exchange_data_blocks
(). This method exchanges data_blocks between two CDR
@@ -38,7 +44,7 @@ Thu May 3 08:00:56 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Thu May 3 07:42:01 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* examples/IPC_SAP/FILE_SAP/client.cpp: Fixed a warning with Linux
- builds.
+ builds.
Wed May 2 22:55:25 2001 Balachandran Natarajan <bala@cs.wustl.edu>
@@ -46,7 +52,7 @@ Wed May 2 22:55:25 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* examples/ASX/UPIPE_Event_Server/Options.cpp:
* examples/IPC_SAP/FILE_SAP/client.cpp:
* examples/Naming/test_open.cpp:
- * examples/Naming/test_writers.cpp: Fixed warnings in g++ builds.
+ * examples/Naming/test_writers.cpp: Fixed warnings in g++ builds.
Wed May 2 18:36:29 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
@@ -56,12 +62,12 @@ Wed May 2 18:36:29 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
Wed May 2 15:10:28 2001 Balachandran Natarajan <bala@cs.wustl.edu>
- * ace/CDR_Stream.h (ACE_InputCDR):
+ * ace/CDR_Stream.h (ACE_InputCDR):
* ace/CDR_Stream.cpp: Added a new constructor for ACE_inputCDR
class. This constructor would take the data block with a
pre-determined read and write pointer positions. This is helpful
when an application would like to create a CDR stream with a
- smei-processed data block.
+ smei-processed data block.
Wed May 2 11:10:59 2001 Balachandran Natarajan <bala@cs.wustl.edu>
diff --git a/ace/Malloc.h b/ace/Malloc.h
index 3c4b6cc745e..68b9c2b015c 100644
--- a/ace/Malloc.h
+++ b/ace/Malloc.h
@@ -370,11 +370,13 @@ public:
ACE_Malloc_Stats malloc_stats_;
#define ACE_CONTROL_BLOCK_SIZE ((int)(sizeof (ACE_Name_Node*) \
+ sizeof (ACE_Malloc_Header*) \
+ + sizeof (int) \
+ MAXNAMELEN \
+ sizeof (ACE_Malloc_Stats)))
#else
#define ACE_CONTROL_BLOCK_SIZE ((int)(sizeof (ACE_Name_Node*) \
+ sizeof (ACE_Malloc_Header*) \
+ + sizeof (int) \
+ MAXNAMELEN))
#endif /* ACE_HAS_MALLOC_STATS */
diff --git a/ace/PI_Malloc.h b/ace/PI_Malloc.h
index ef7d39f160f..fcb0b0bbb75 100644
--- a/ace/PI_Malloc.h
+++ b/ace/PI_Malloc.h
@@ -165,11 +165,13 @@ public:
ACE_Malloc_Stats malloc_stats_;
#define ACE_PI_CONTROL_BLOCK_SIZE ((int)(sizeof (NAME_NODE_PTR) \
+ sizeof (MALLOC_HEADER_PTR) \
+ + sizeof (int) \
+ MAXNAMELEN \
+ sizeof (ACE_Malloc_Stats)))
#else
#define ACE_PI_CONTROL_BLOCK_SIZE ((int)(sizeof (NAME_NODE_PTR) \
+ sizeof (MALLOC_HEADER_PTR) \
+ + sizeof (int) \
+ MAXNAMELEN))
#endif /* ACE_HAS_MALLOC_STATS */