[6.2.0][技术优化] 减少记录字符串的长度
This commit is contained in:
@@ -230,15 +230,13 @@ public class HookInvokerImpl implements IHookInvoker {
|
||||
builder.append(")");
|
||||
}
|
||||
builder.append("#").append(elapsedTime);
|
||||
|
||||
Object monitor = this.monitor.get();
|
||||
if (monitor != null) {
|
||||
builder.append("#").append(monitor);
|
||||
builder.append("#").append("monitor->").append(monitor.getClass().getName()).append("@").append(monitor.hashCode());
|
||||
}
|
||||
if (holderDesc != null) {
|
||||
builder.append("#").append(holderDesc);
|
||||
builder.append("#").append("holder->").append(holderDesc);
|
||||
}
|
||||
|
||||
if (elapsedTime >= dumpStackThreshold && isCanDump) {
|
||||
builder.append("\n");
|
||||
StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user