0

I used LeakCanary to detect memory leak and found this in the log:

D  |   [38] = android.graphics.Bitmap [id=0x12d81740]

But I am not sure what the id=0x12d81740 mean? is it the hash id get by System.identityHashCode(mBitmap)?, I have searched the code, but did not find something relative.

4

1 に答える 1

0

同じ ID は同じインスタンスを意味します。

の戻り値のように見えると思いますjava.lang.Object#hashCode

于 2015-08-27T11:27:09.220 に答える