We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41f043e commit a81e3aeCopy full SHA for a81e3ae
integration-test/telnet-stop-leak/commands.txt
@@ -8,5 +8,16 @@ sc -d demo.MathGame
8
sm demo.MathGame
9
jad demo.MathGame
10
watch demo.MathGame primeFactors "{params,returnObj,throwExp}" -n 1 -x 1
11
+# trace 命令:追踪方法调用路径及耗时
12
+trace demo.MathGame run -n 1
13
+trace demo.MathGame primeFactors '#cost>0' -n 1
14
+# ognl 命令:执行 OGNL 表达式
15
+ognl '@java.lang.System@getProperty("java.version")'
16
+ognl '@java.lang.Runtime@getRuntime().availableProcessors()'
17
+ognl -x 2 '@java.lang.System@getProperties()'
18
+# vmtool 命令:JVM 工具
19
+vmtool --action getInstances --className demo.MathGame --limit 5
20
+vmtool --action getInstances --className demo.MathGame --express 'instances.length'
21
+vmtool --action forceGc
22
reset
23
0 commit comments