提交 1f1f73f8 编写于 作者: K kevinw

Merge

...@@ -1107,6 +1107,8 @@ static void do_thread_dump(ThreadDumpResult* dump_result, ...@@ -1107,6 +1107,8 @@ static void do_thread_dump(ThreadDumpResult* dump_result,
bool with_locked_monitors, bool with_locked_monitors,
bool with_locked_synchronizers, bool with_locked_synchronizers,
TRAPS) { TRAPS) {
// no need to actually perform thread dump if no TIDs are specified
if (num_threads == 0) return;
// First get an array of threadObj handles. // First get an array of threadObj handles.
// A JavaThread may terminate before we get the stack trace. // A JavaThread may terminate before we get the stack trace.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册