Mercurial > hg > graal-jvmci-8
changeset 23435:7c72f397718a
Merge
author | kevinw |
---|---|
date | Thu, 15 Oct 2015 09:14:26 +0000 |
parents | e36fd279a207 (current diff) eba0866f9379 (diff) |
children | bb98a4ba1556 |
files | |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/services/management.cpp Fri Oct 09 11:28:11 2015 +0200 +++ b/src/share/vm/services/management.cpp Thu Oct 15 09:14:26 2015 +0000 @@ -1107,6 +1107,8 @@ bool with_locked_monitors, bool with_locked_synchronizers, 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. // A JavaThread may terminate before we get the stack trace.