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