Loading tools/preload/loadclass/LoadClass.java +4 −4 Original line number Diff line number Diff line Loading @@ -14,8 +14,8 @@ * limitations under the License. */ import android.util.Log; import android.os.Debug; import android.util.Log; /** * Loads a class, runs the garbage collector, and prints showmap output. Loading Loading @@ -46,7 +46,7 @@ class LoadClass { } } System.gc(); Runtime.getRuntime().gc(); int allocCount = Debug.getGlobalAllocCount(); int allocSize = Debug.getGlobalAllocSize(); Loading Loading
tools/preload/loadclass/LoadClass.java +4 −4 Original line number Diff line number Diff line Loading @@ -14,8 +14,8 @@ * limitations under the License. */ import android.util.Log; import android.os.Debug; import android.util.Log; /** * Loads a class, runs the garbage collector, and prints showmap output. Loading Loading @@ -46,7 +46,7 @@ class LoadClass { } } System.gc(); Runtime.getRuntime().gc(); int allocCount = Debug.getGlobalAllocCount(); int allocSize = Debug.getGlobalAllocSize(); Loading