commit | 5794f2302209981c64425ea2b661b17f00b8f808 | [log] [tgz] |
---|---|---|
author | Guang Zhu <guangzhu@google.com> | Tue Jan 25 15:43:57 2011 -0800 |
committer | Guang Zhu <guangzhu@google.com> | Tue Jan 25 17:25:59 2011 -0800 |
tree | 57358456261d67323208a62799ff6716b21d86eb | |
parent | d63219f62248d067462403bed9e0539df53dd2dd [diff] |
change the way test app waits for gc gcSoftReferences methods are being obsoleted, so we need a different approach to wait for gc: create a CountDownLatch and release it in a dummy object's finalizer, call gc and await on the CDL. Change-Id: I54d9e6bc05540b16ee1f3959ace9008041ac4903