commit | 6ba680664fa14a547543a8c63708543ea8072680 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Thu Sep 18 18:31:52 2014 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Fri Sep 19 09:36:45 2014 -0700 |
tree | 69d33eb4d2ef510473827c60d9e58def194b7143 | |
parent | 5921f4908c4d068961789eb02bc292826a65064c [diff] |
Change FinalizerWatchdogDaemon to not hold objects live Previously, waitForFinalization would hold whatever object was being finalized live for MAX_FINALIZE_NANOS even though the finalizer on this object was run much earlier. This caused a test to be flaky since it was assuming that the JNI weak global reference of a recently finalized object wouldn't be held live. Bug: 17305633 Change-Id: Idc6ec28c22f8d5dd8650c000b15d6fc50a732a08