diff options
author | Hans Boehm <hboehm@google.com> | 2021-07-08 17:21:20 -0700 |
---|---|---|
committer | Hans Boehm <hboehm@google.com> | 2021-07-09 10:23:30 -0700 |
commit | 6a5274513a1fbbf728bf81caf09184d1233d554a (patch) | |
tree | 73530c978a03b40075a489bea9f46abc510acabe /docs/html/sdk/api_diff/24/changes | |
parent | fa6a428347a7306a6241cab8bb2e92fa6bfe31a9 (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
Merged-In: I0f4806b8e3f9ca898eb7ea1b1c8de14aa94e2646
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions