Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8016304

ThreadMXBean.getDeadlockedThreads reports bogus deadlocks on JDK 8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • hs25
    • 8
    • core-svc
    • b38
    • generic
    • generic
    • Not verified

        Hello,

        we have started to use the method for deadlock detection but are getting numerous reports from people using JDK 8 preview builds that the method returns bogus results on JDK 8.

        Please see one of the reports in our bug database with the thread dump generated from the information provided by the method:
        https://netbeans.org/bugzilla/show_bug.cgi?id=230989

        There are also other reports for the wrong behaviour. If you want to see the code that we are using, it is here:

        http://hg.netbeans.org/main-silver/file/tip/deadlock.detector/src/org/netbeans/modules/deadlock/detector/Detector.java

        If you need more information please ask for more specific details.

        David

              sla Staffan Larsen (Inactive)
              dstrupl David Štrupl (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: