5
环境信息
arthas-boot.jar
或者as.sh
的版本: xxx- Arthas 版本: 3.6.9
- 操作系统版本: centos 7
- 目标进程的JVM版本: openjdk version "1.8.0_312"
- 执行
arthas-boot
的版本: xxx
- 下载的3.6.9版本,启动里面的MathGame
- trace 里面的demp.MathGame print
What do you expected from the above steps?
实际运行的结果wiki https://arthas.aliyun.com/doc
tutorials https://arthas.aliyun.com/doc/arthas-tutorials.html
version 3.6.9
main_class
pid 14958
time 2023-05-11 14:05:53
[arthas@14958]$ trace demo.MathGame print
Press Q or Ctrl+C to abort.
Affect(class count: 1 , method count: 1) cost in 194 ms, listenerId: 1
`---ts=2023-05-11 14:06:12;thread_name=main;id=1;is_daemon=false;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@70dea4e
`---[0.680768ms] demo.MathGame:print()
`---ts=2023-05-11 14:06:13;thread_name=main;id=1;is_daemon=false;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@70dea4e
`---[0.435911ms] demo.MathGame:print()
`---ts=2023-05-11 14:06:15;thread_name=main;id=1;is_daemon=false;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@70dea4e
`---[0.499324ms] demo.MathGame:print()
`---ts=2023-05-11 14:06:18;thread_name=main;id=1;is_daemon=false;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@70dea4e
`---[1.250996ms] demo.MathGame:print()