commit | a7d883a97b4aef08f1012dcc80a874e3ff53f3fc | [log] [tgz] |
---|---|---|
author | Sebastien Hertz <shertz@google.com> | Mon Jun 29 10:17:31 2015 +0200 |
committer | Sebastien Hertz <shertz@google.com> | Mon Jun 29 10:44:44 2015 +0200 |
tree | c2d3e496d71688e0633241421b119591115b58e2 | |
parent | 29be85a9b7749925397d018386241a01fd65a472 [diff] |
Fix flaky ObjectReference.EnableCollectionTest Moves test object allocations to a separate method to avoid keeping references to these objects in local DEX registers and forces object finalization by calling System.runFinalization method. Also cleans up the construction of the message sent by the debuggee to the test (indicating whether the test objects are finalized). Bug: 21575091 Change-Id: Id23c5b04240090b9ff3b5bc9c1bce2614daeb4e8