-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make memory pool dbg message more readable (#10778)
Summary: Current memory pool dbg message prints every leaked allocation without aggregation. When many allocations are present it becomes very long and unreadable. This PR improves it by aggregating each allocation sites information and print the allocations on size descending order to expose the biggest leaks first. Pull Request resolved: #10778 Reviewed By: xiaoxmeng Differential Revision: D61484697 Pulled By: tanjialiang fbshipit-source-id: 619b981b49a96ec66b8bc8afb75646140fc1c83f
- Loading branch information
1 parent
be52988
commit 4810dc3
Showing
2 changed files
with
29 additions
and
10 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