Jmapping 的基础知识?
我已经在那里做了一些搜索,但找不到太多真正有用的信息,但是有人可以尝试解释 Java 内存映射的基础知识吗?比如在哪里/如何使用它,它的目的,也许还有一些语法示例(输入/输出类型)?我很快就要参加 Java 测试,这可能是主题之一,但在我的所有教程中,Jmap 都没有出现。提前致谢
编辑:我指的是工具:jmap
I've done some search out there but couldn't find too much really helpful info on it, but could someone try to explain the basic of Java memory maps? Like where/how to use it, it's purpose, and maybe some syntax examples (inputs/outputs types)? I'm taking a Java test soon and this could be one of the topics, but through all of my tutorials Jmap has not come up. Thanks in advance
Edit: I'm referring to the tool: jmap
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会阅读您引用的手册页。
http://docs.oracle.com/javase/ 7/docs/technotes/tools/share/jmap.html
它不是一个可以轻易使用的工具。您需要一个好的分析器来读取它的输出,因为 jhat 仅对简单的程序有用。 (YourKit 适用于 1+ GB 堆)
I would read the man page you have referenced.
http://docs.oracle.com/javase/7/docs/technotes/tools/share/jmap.html
Its not a tool to be played with lightly. You need a good profiler which can read it output as jhat is only useful for trivial programs. (YourKit works just fine for 1+ GB heaps)