forked from OpenDDS/OpenDDS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Locator Memory Leak in RTPS/UDP Transport
Locators were not being cleaned up correctly because there were two functions for cleaning up after remotes in `RtpsUdpDataLink`. These changes merge those two functions. Also: - Don't create locator entries for unknown remotes in `RtpsUdpDataLink::update_locators` - Change `RemoteInfo::ref_count_` from `size_t` to a `DDS::UInt32` to save a bit of space in 64-bit builds. If the RtpsRelay SEDP transport is serving 10,000 participants with 12 `RemoteInfo` for each remote builtin entity, then this saves almost half a megabyte of memory. - Methods for getting GUIDs from `DiscoveredParticipant` to simplify code - Remove an unused function in Sedp
- Loading branch information
1 parent
9244c3e
commit 2df190c
Showing
10 changed files
with
150 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.. news-prs: 4731 | ||
.. news-start-section: Fixes | ||
- Fixed memory leak of remote locators in the RTPS/UDP transport. | ||
.. news-end-section |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters