Fortunately, jhat supports an OQL syntax for doing that analysis.
幸运的是,jhat支持OQ l语法进行这样的分析。
You can then analyze the heap data using the jhat utility described in the next section.
然后您可以采用下一部分中描述的jhat实用程序分析堆数据。
The jhat tool provides a convenient means to browse the object topology in a heap snapshot.
jhat工具提供了一种方便的方法,可以在堆快照中浏览对象结构。
Combining jhat with OQL is a powerful way to do a targeted investigation of a misbehaving heap.
将jhat与OQL相结合是对行为不当的堆进行对象调查的有效方法。
Once you've dumped the heap into a binary file, you can use jhat to analyze the binary heap dump file.
将堆转储至一个二进制文件后,您就可以使用jhat分析二进制堆转储文件。
You can find the full syntax of OQL and its features under the "OQL Help" page inside the jhat browser environment.
您可以查找OQL的完整语法及其在jhat浏览器环境内“OQLHelp”页面上的特性。
Running this command tells the JVM to take a "heap dump snapshot" and save it to a file for processing, usually using the jhat utility (which I introduced in a previous article).
运行该命令通知JVM拍摄一个“堆转储快照”,并将其保存在一个文件中以便处理,通常使用jhat实用工具(我在上一篇文章中介绍过)。
Running this command tells the JVM to take a "heap dump snapshot" and save it to a file for processing, usually using the jhat utility (which I introduced in a previous article).
运行该命令通知JVM拍摄一个“堆转储快照”,并将其保存在一个文件中以便处理,通常使用jhat实用工具(我在上一篇文章中介绍过)。
应用推荐