08-25 11:51:59.630 29087-9866/me.aber.app.arrayapdapterdemo
D/dalvikvm? GC_FOR_ALLOC freed 2055K, 52% free 7378K/15192K, paused 24ms, total 30ms
08-25 11:52:01.923 29087-9866/me.aber.app.arrayapdapterdemo
W/Binder? Caught a RuntimeException from the binder stub implementation.
java.lang.NullPointerException
at android.view.WindowManagerGlobal.dumpGfxInfo(WindowManagerGlobal.java:437)
at android.app.ActivityThread$ApplicationThread.dumpGfxInfo(ActivityThread.java:1021)
at android.app.ApplicationThreadNative.onTransact(ApplicationThreadNative.java:550)
at android.os.Binder.execTransact(Binder.java:404)
at dalvik.system.NativeStart.run(Native Method)
一直以为这个是bug,找了好久也没找到,最后还是Google找到了答案,把手机的GPU分析关闭就可以了,开启GPU分析会不停的GC,开始还以为有内存泄漏,从APP刚开始启动就开始GC大约23S一次,还以为自己登录Activity或者Application中的某个变量泄漏了,但是用的Leaks也没有检测出来,所以阿西了,不过涨个姿势还是不错的。