commit | f31227558189f103f8d70a5bf9673ec0368c951b | [log] [tgz] |
---|---|---|
author | Hans Boehm <hboehm@google.com> | Thu Jul 08 17:21:20 2021 -0700 |
committer | Hans Boehm <hboehm@google.com> | Fri Jul 09 17:25:19 2021 +0000 |
tree | a4dc88edbd86632d9833d981f98cbf064c274942 | |
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