-
-
Notifications
You must be signed in to change notification settings - Fork 15.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always enable leak tracking for derived buffers if parent is tracked (#…
…13436) Motivation: Currently, when leak tracking is set to SIMPLE or ADVANCED, and a derived buffer is created, the buffer is selected for leak tracking if the parent buffer is tracked and the derived buffer is also selected by an independent roll of the dice. As a result, deeply derived buffers are exponentially less likely to be selected for leak tracking. This makes it difficult to find and diagnose leaks related to such buffers. Modifications: When a derived buffer is created, and the parent buffer has leak tracking, the derived buffer now always has leak tracking applied. Result: Leaks of derived buffers are easier to find. Fixes #13414.
- Loading branch information
Showing
2 changed files
with
25 additions
and
21 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