diff options
author | Guang Zhu <guangzhu@google.com> | 2011-01-18 18:04:34 -0800 |
---|---|---|
committer | Guang Zhu <guangzhu@google.com> | 2011-01-18 18:04:34 -0800 |
commit | 3974be616399c144485e218ab6ed24dd922665f1 (patch) | |
tree | 5fbae2b392e4bc89c7c6b74b4976a63f54497fc1 | |
parent | 11ebdd6a7991283986c4fb94ec5f0774cc11d6da (diff) | |
download | frameworks_base-3974be616399c144485e218ab6ed24dd922665f1.zip frameworks_base-3974be616399c144485e218ab6ed24dd922665f1.tar.gz frameworks_base-3974be616399c144485e218ab6ed24dd922665f1.tar.bz2 |
further remove calls to runFinalization
apparently these calls may deadlock as well...
Change-Id: I83132aa50f4e49a170be2b960f6c3236f14745c9
-rw-r--r-- | tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.java b/tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.java index e5a46b9..5bcf727 100644 --- a/tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.java +++ b/tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.java @@ -89,13 +89,12 @@ public class LoadTestsAutoTest extends ActivityInstrumentationTestCase2<TestShel } private void freeMem() { - Log.v(LOGTAG, "freeMem: calling gc/finalization..."); + Log.v(LOGTAG, "freeMem: calling gc..."); final VMRuntime runtime = VMRuntime.getRuntime(); runtime.gcSoftReferences(); runtime.gcSoftReferences(); runtime.gcSoftReferences(); - Runtime.getRuntime().runFinalization(); Runtime.getRuntime().gc(); Runtime.getRuntime().gc(); |