0 Replies Latest reply: Sep 23, 2011 3:20 AM by 25544 RSS

    What is the cost of using ThreadMXBean.findMonitorDeadlockedThreads() ?

    25544
      HI, we are planning to setup some alerting to check if any thread in monitor status for too long, say 15mins

      So just wonder, if the API call

      http://download.oracle.com/javase/6/docs/api/java/lang/management/ThreadMXBean.html#findMonitorDeadlockedThreads()

      Is very expensive or not? Will it cause preformance problem of checking it for every minutes?