0

I got strange behavior on my galaxy tab 10.1 (4.0.4) and SGS 3 (4.1.4)

DDMS profiler shows that Bitmap.nativeCreate extremely slow. And 97% of cpu time take VMDebug.startGC()

Another tablet Lenovo IconTab (4.1.1) works pretty well and profiler doesn't show any any abnormal GC execution.

So my application performance greatly differs on Lenovo and Samsung devices.

There is no any Debug.start_anything_() in my code.

I tried to make debug and release builds, run from Android Studio, and manually copy release apk to device. Reset devices to factory default. But it still extremely slow and profiler show .

Any ideas what could provoke VMDebug.startGC()?

4

1 回答 1

0

可能已经晚了,但这个问题可能是由太多的对象分配引起的。您可以查看这篇文章以供参考。

于 2013-10-22T02:58:53.547 回答