Android – how to find the source code for creating byte arrays
•
Android
Using DDMS and creating hprof, I can see the "histogram" view of data in my application and notice too many very large "byte []" objects. I suspect this is an error or other stupid result in my code. But I don't know how to view the names of these byte objects or the location where they are created in the source code. Can I do this?
resolvent:
See here: DDMS object allocation tracking, which specifies step by step how to track object allocation and find the code line responsible for it
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码