diff options
-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(); |