-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve memory leaks in ConcurrentMap, EpochManager, LockFreeStack, a…
…nd LockFreeQueue (#25928) Resolves all of the memory leaks that are exposed by our current tests in the ConcurrentMap, EpochManager, LockFreeStack, and LockFreeQueue modules While working on this, I also found #25926 and this PR adds a future for that. Testing - [x] full paratest with/without comm - [x] full paratest with -memleaks - [x] full paratest with comm and -memleaks [Reviewed by @stonea]
- Loading branch information
Showing
43 changed files
with
150 additions
and
159 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
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,20 @@ | ||
{id = 2} | ||
deinit C id=2 | ||
{id = 4} | ||
deinit C id=4 | ||
(id = 2) | ||
deinit R id=2 | ||
deinit R id=2 | ||
deinit R id=1 | ||
(id = 4) | ||
deinit R id=4 | ||
deinit R id=4 | ||
deinit R id=3 | ||
|
||
=================================================== Memory Leaks ==================================================== | ||
Allocated Memory (Bytes) Number Size Total Description Address | ||
===================================================================================================================== | ||
iter-memory-leak-unpack.chpl:26 1 16 16 C prediffed | ||
iter-memory-leak-unpack.chpl:26 1 16 16 C prediffed | ||
===================================================================================================================== | ||
|
Oops, something went wrong.