JProfiler Heap Walker - select objects that are held by GC Root located in specific Java packages

问题: I have JavaFX application and I have made Heap Snaphot using JProfiler 10.1.5. My current object set (filtered using "use new" selection step) has 46064 objects in 672 clas...

问题:

I have JavaFX application and I have made Heap Snaphot using JProfiler 10.1.5. My current object set (filtered using "use new" selection step) has 46064 objects in 672 classes. I would like to narrow the search range for memory leaks, and filter my current object set to have only objects that are held by GC Roots located in specific java packages. Is it possible? Are there any other tools which can do such a search?


回答1:

The closest you can get to that is to go to the "References" view of the heap walker, select the "Merged dominating references" mode and then "GC roots to objects" in the drop-down next to the view mode selector.

  • 发表于 2019-02-13 22:39
  • 阅读 ( 166 )
  • 分类:网络文章

条评论

请先 登录 后评论
不写代码的码农
小编

篇文章

作家榜 »

  1. 小编 文章
返回顶部
部分文章转自于网络,若有侵权请联系我们删除