开发者

OQL for finding new objects only in heap dumps?

开发者 https://www.devze.com 2022-12-08 06:17 出处:网络
Does anyone know the OQL syntax for finding new objects only in a heap output? I can\'t find good documentation on OQL options, sun even has an example of new-only output without sample syntax of the

Does anyone know the OQL syntax for finding new objects only in a heap output? I can't find good documentation on OQL options, sun even has an example of new-only output without sample syntax of the query that generated it.What I've done is

  • Created a set of heaps with jhat
  • Served them up with jmap -baseline, which marks objects not in both heaps as "new".
  • browse jhat
  • scra开发者_StackOverflow社区tch head


Eclipse memory analyzer is THE tool when it comes to interpreting results of a heap dump. See Why doesn't the -baseline option of jhat work?


At least this page has some examples: jstack-jhat-Object-Query-Language-OQL.html

0

精彩评论

暂无评论...
验证码 换一张
取 消