diff options
author | Guang Zhu <guangzhu@google.com> | 2011-01-25 15:43:57 -0800 |
---|---|---|
committer | Guang Zhu <guangzhu@google.com> | 2011-01-25 17:25:59 -0800 |
commit | 5794f2302209981c64425ea2b661b17f00b8f808 (patch) | |
tree | 57358456261d67323208a62799ff6716b21d86eb /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
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
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions