diff options
| author | 2021-07-08 17:21:20 -0700 | |
|---|---|---|
| committer | 2021-07-09 17:25:19 +0000 | |
| commit | f31227558189f103f8d70a5bf9673ec0368c951b (patch) | |
| tree | a4dc88edbd86632d9833d981f98cbf064c274942 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | f90282c17e2e47288f4875eade4b96743b22a04e (diff) | |
Add System.runFinalization() call
Lone calls to System.gc() generally don't do anything.
Runtime.getRuntime().gc() would force a GC, but it would be ineffective
without waiting for reference processing and finalization to complete.
Adding the runFinalization() call implicitly makes the preceding GC call
effective.
Bug: 183912710
Test: Treehugger
Change-Id: I0f4806b8e3f9ca898eb7ea1b1c8de14aa94e2646
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions