OQL 仅在堆转储中查找新对象?
有谁知道仅在堆输出中查找新对象的 OQL 语法吗?我找不到关于 OQL 选项的良好文档,sun 甚至有一个 示例 仅新的输出,没有生成它的查询的示例语法。我所做的是
- 使用 jhat 创建了一组堆,并
- 使用 jmap -baseline 为它们提供服务,它将不在两个堆中的对象标记为“新”。
- 浏览 jhat
- 抓头
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
- scratch head
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Eclipse 内存分析器是解释堆转储结果的工具。
请参阅为什么 jhat 的 -baseline 选项不起作用?
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?
至少此页面有一些示例: jstack- jhat-Object-Query-Language-OQL.html
At least this page has some examples: jstack-jhat-Object-Query-Language-OQL.html