evernat commented on Improvement JENKINS-21902

First, as said above, use http://host/threadDump to display locks in Jenkins.

Then, adding "Waiting / Blocked on" information in the textual thread dump [1] is currently not a high priority for javamelody (used in the monitoring plugin), because:

  • Having lock issues in a webapp, such as Jenkins, is a critical issue.
  • So, I think personnally that developers using synchronized / locks are supposed to know what they are doing or otherwise to use lock-free patterns: it's much better to not have lock issues than to fight a critical fire with just a report of locks in a thread dump.
  • In the worst case, those developers are supposed to know and recommend tools like jstack, or http://host/threadDump in Jenkins.
    That said, the plugin displays the names of the deadlocked threads, when needed.

[1] https://code.google.com/p/javamelody/source/browse/trunk/javamelody-core/src/main/java/net/bull/javamelody/HtmlThreadInformationsReport.java#91

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to