首页 > 其他分享 >arthas的调试优化代码运行速度

arthas的调试优化代码运行速度

时间:2022-10-12 12:23:23浏览次数:49  
标签:--- MathGame demo jar 代码运行 ms arthas 调试

$ $ java -jar arthas-boot.jar
* [1]: 35542
  [2]: 71560 math-game.jar

$ trace demo.MathGame run
Press Q or Ctrl+C to abort.
Affect(class-cnt:1 , method-cnt:1) cost in 28 ms.
`---ts=2019-12-04 00:45:08;thread_name=main;id=1;is_daemon=false;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@3d4eac69
    `---[0.617465ms] demo.MathGame:run()
        `---[0.078946ms] demo.MathGame:primeFactors() #24 [throws Exception]

`---ts=2019-12-04 00:45:09;thread_name=main;id=1;is_daemon=false;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@3d4eac69
    `---[1.276874ms] demo.MathGame:run()
        `---[0.03752ms] demo.MathGame:primeFactors() #24 [throws Exception]

 

标签:---,MathGame,demo,jar,代码运行,ms,arthas,调试
From: https://www.cnblogs.com/goPush/p/16784097.html

相关文章