src/share/vm/services/management.cpp

changeset 8081
eba0866f9379
parent 7632
ffae627760ca
child 8604
04d83ba48607
child 9979
9f2b95a3c80b
     1.1 --- a/src/share/vm/services/management.cpp	Mon Oct 12 19:31:16 2015 +0200
     1.2 +++ b/src/share/vm/services/management.cpp	Fri Apr 03 15:40:35 2015 +0200
     1.3 @@ -1107,6 +1107,8 @@
     1.4                             bool with_locked_monitors,
     1.5                             bool with_locked_synchronizers,
     1.6                             TRAPS) {
     1.7 +  // no need to actually perform thread dump if no TIDs are specified
     1.8 +  if (num_threads == 0) return;
     1.9  
    1.10    // First get an array of threadObj handles.
    1.11    // A JavaThread may terminate before we get the stack trace.

mercurial