-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Reland "[SSM] Release memory used by libunwindstack when no p…
…rofiler is active"" This reverts commit fa3c250. Reason for revert: tests are still failing (https://crbug.com/1418366) Original change's description: > Reland "[SSM] Release memory used by libunwindstack when no profiler is active" > > This is a reland of commit 388c13f > > The root cause of failing build is that `NativeUnwinderAndroid` holds > an invalid reference to map delegate as the map delegate ownership > has been transferred after the initial reference. > > This reland fixes this issue by letting the child class > `NativeUnwinderAndroidForTesting` refresh the reference of map > delegate in the parent class `NativeUnwinderAndroid` after the > ownership transfer. > > Original change's description: > > [SSM] Release memory used by libunwindstack when no profiler is active > > > > The previous investigation reveals that the libunwindstack info map > > structures holds in `NativeUnwinderCreator` are holding significant > > amount of memory. > > > > This CL lets `SamplingThread` clear the memory cache used in > > libunwindstack when no profiler is active. > > > > Details on where to add this clear cache action is discussed > > in the following doc: > > https://docs.google.com/document/d/1Eell0hfe_U5h8ROf-GYSVfQE2j1_Pe1dbcO0054alZ4/edit?usp=sharing > > > > Bug: 1375938 > > Change-Id: Icb230bec2bab85cb0ded678fe12befa563b79d45 > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4159607 > > Reviewed-by: Mike Wittman <wittman@chromium.org> > > Commit-Queue: Charlie Hu <chenleihu@google.com> > > Cr-Commit-Position: refs/heads/main@{#1108178} > > Bug: 1375938, 1418366 > Change-Id: I0159b3744c395288246498c5cec4ff93849925c1 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4283897 > Commit-Queue: Charlie Hu <chenleihu@google.com> > Reviewed-by: Andrew Grieve <agrieve@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1108595} Bug: 1375938, 1418366 Change-Id: I83bde0de3afa4a02646194f9371257bbaff1a122 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4286558 Commit-Queue: Alex Ilin <alexilin@chromium.org> Owners-Override: Alex Ilin <alexilin@google.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1108823}
- Loading branch information
Alex Ilin
authored and
Chromium LUCI CQ
committed
Feb 23, 2023
1 parent
41bc2ef
commit 64771f4
Showing
20 changed files
with
195 additions
and
398 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
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
base/profiler/native_unwinder_android_memory_regions_map.h
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.