简体   繁体   中英

Yourkit API heap dump analysis

Is it possible to use yourkit API ( https://www.yourkit.com/docs/java/api/index.html ) to inspect the objects in the heap? Inspecting means, for example, getting the values of the fields of objects in the heap.

The class MemorySnapshot seems rather limited.

I guess it depends on what you mean by inspect . The API does provide some ways to count and get the size of sets of objects. The set specification is pretty extensive. The Yourkit business model is to allow free use of the APIs but charge for the UI. So it is against their interests to allow too much to be done in the API.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM