am c3db7c8f: Merge "further remove calls to runFinalization" into honeycomb
* commit 'c3db7c8f3bc9af38d0f4ad2c66ff696c115c036a': further remove calls to runFinalization
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user