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 回答