diff options
author | fields_t <fields_t@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2009-06-05 23:24:23 +0000 |
---|---|---|
committer | fields_t <fields_t@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2009-06-05 23:24:23 +0000 |
commit | 68842eef744ed2cc95b0bb3972309fbcb1933650 (patch) | |
tree | 3a7511b2f331d0a59332c5047abb76878af0b226 | |
parent | dac79ec5eee826b4e327bdbf2b55eca796d01085 (diff) | |
download | ATCD-68842eef744ed2cc95b0bb3972309fbcb1933650.tar.gz |
ChangeLogTag: Fri Jun 05 22:45:57 UTC 2009 Trevor Fields <fields_t@ociweb.com>
-rw-r--r-- | TAO/ChangeLog | 8 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/Buffering_Strategy.cpp | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 8d83be3dbf9..8b81d2d7984 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,11 @@ +Fri Jun 05 22:45:57 UTC 2009 Trevor Fields <fields_t@ociweb.com> + + * orbsvcs/orbsvcs/Notify/Buffering_Strategy.cpp: + + Changed enqueue method to log and return -1 when the enqueue is + not attempted. This should help identify the case where the + enqueues are not occurring and memory is leaking. + Fri Jun 5 20:42:42 UTC 2009 William R. Otte <wotte@dre.vanderbilt.edu> * TAO_IDL/contrib/mcpp/directive.cpp: diff --git a/TAO/orbsvcs/orbsvcs/Notify/Buffering_Strategy.cpp b/TAO/orbsvcs/orbsvcs/Notify/Buffering_Strategy.cpp index e222b02d216..8f979d25bb0 100644 --- a/TAO/orbsvcs/orbsvcs/Notify/Buffering_Strategy.cpp +++ b/TAO/orbsvcs/orbsvcs/Notify/Buffering_Strategy.cpp @@ -165,6 +165,12 @@ TAO_Notify_Buffering_Strategy::enqueue (TAO_Notify_Method_Request_Queueable* met local_not_empty_.signal (); } + else + { + ACE_DEBUG((LM_DEBUG, + "Notify (%P|%t) - Panic! did not attempt to enqueue event\n")); + return -1; + } size_t count = this->msg_queue_.message_count (); if (this->tracker_ != 0) |