首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 在JVM中的对象创建跟踪

在JVM中的对象创建跟踪

  • 资源大小:621.84 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: Debug JVM GC

资 源 简 介

Introduction Object-tracker consists of a JVM agent that modifies your java objects in order to track their creation. This information can then be written to a file for later analysis. Usage Download the bundle with dependencies from the download page, and unzip. Add the following arguments to the command line when starting java: -javaagent:./object-tracker-agent-0.1/object-tracker-agent-0.1.jar -cp ./object-tracker-agent-0.1/javassist.jar:./object-tracker-agent-0.1/juxtapose-1.0.jar Opening jconsole, look for the MBean named com.epickrram.tools:type=ObjectInstanceCounter. To write object count data to disk, invoke the dumpObjectCreationCounts method, supplying a target filename. Object-tracker will write out a csv containing the current snapshot of the tracked object creation counts: classname,countcom.epickrram.testing.TestObjectTwo,48com.epickrram.test

文 件 列 表

META-INF
MANIFEST.MF
object-tracker-agent-0.1
javassist.jar
object-tracker-agent-0.1.jar
juxtapose-1.0.jar

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP