当前位置:   article > 正文

Java内存分析利器Java Object Layout_java object layout (jol) is a tool to analyze in m

java object layout (jol) is a tool to analyze in memory object layout scheme

概述

JOL (Java Object Layout) is the tiny toolbox to analyze object layout schemes in JVMs. These tools are using Unsafe, JVMTI, and Serviceability Agent (SA) heavily to decoder the actual object layout, footprint, and references. This makes JOL much more accurate than other tools relying on heap dumps, specification assumptions, etc.

通过OpenJDK官方提供的JOL(Java Object Layout)工具,我们可很方便地分析Java对象在内存当中的具体布局情况。

官方文档

http://openjdk.java.net/projects/code-tools/jol/

参考资料

https://zhuanlan.zhihu.com/p/151856103

https://blog.csdn.net/shihlei/article/details/84914901

https://www.cnblogs.com/flydean/p/java-object-layout-jol.html

 

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/寸_铁/article/detail/805429
推荐阅读
相关标签
  

闽ICP备14008679号