diff options
author | Guang Zhu <guangzhu@google.com> | 2011-01-13 15:34:19 -0800 |
---|---|---|
committer | Guang Zhu <guangzhu@google.com> | 2011-01-13 15:37:43 -0800 |
commit | e88255df397d79f061caa3144da3e2b58008068b (patch) | |
tree | 12b0f5eb6637ec9c50b80ecd6f1037fbc98c90c3 /tests/DumpRenderTree | |
parent | 6458202abe0c9df932f44223d05761673ba6e9fa (diff) | |
download | frameworks_base-e88255df397d79f061caa3144da3e2b58008068b.zip frameworks_base-e88255df397d79f061caa3144da3e2b58008068b.tar.gz frameworks_base-e88255df397d79f061caa3144da3e2b58008068b.tar.bz2 |
remove runFinalizationSync calls
according to csharpiro, these calls are unnecessary and may
lead to problems.
bug: 3350034
Change-Id: I25a80e4e7610901e75622334bf97d6c1bed17cbd
Diffstat (limited to 'tests/DumpRenderTree')
-rw-r--r-- | tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.java b/tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.java index 4982c46..e5a46b9 100644 --- a/tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.java +++ b/tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.java @@ -93,11 +93,8 @@ public class LoadTestsAutoTest extends ActivityInstrumentationTestCase2<TestShel final VMRuntime runtime = VMRuntime.getRuntime(); runtime.gcSoftReferences(); - runtime.runFinalizationSync(); runtime.gcSoftReferences(); - runtime.runFinalizationSync(); runtime.gcSoftReferences(); - runtime.runFinalizationSync(); Runtime.getRuntime().runFinalization(); Runtime.getRuntime().gc(); Runtime.getRuntime().gc(); |