提交 fb0fc07a authored 作者: Thomas Mueller's avatar Thomas Mueller

Profiler improvements.

上级 2eef6925
...@@ -22,7 +22,13 @@ public class Profiler implements Runnable { ...@@ -22,7 +22,13 @@ public class Profiler implements Runnable {
private int depth = 16; private int depth = 16;
private String[] ignoreLines = StringUtils.arraySplit("", ',', true); private String[] ignoreLines = StringUtils.arraySplit("", ',', true);
private String[] ignoreThreads = StringUtils.arraySplit( private String[] ignoreThreads = StringUtils.arraySplit(
"java.net.,java.lang.Thread.,sun.awt.", ',', true); "java.lang.Thread.dumpThreads," +
"java.net.PlainSocketImpl.socketAccept," +
"java.net.SocketInputStream.socketRead0," +
"java.lang.UNIXProcess.waitForProcessExit," +
"java.lang.Object.wait," +
"java.lang.Thread.sleep,"
, ',', true);
private volatile boolean stop; private volatile boolean stop;
private HashMap<String, Integer> counts = new HashMap<String, Integer>(); private HashMap<String, Integer> counts = new HashMap<String, Integer>();
private int minCount = 1; private int minCount = 1;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论