This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Implement deadlock detector | ||
---|---|---|---|
Product: | ide | Reporter: | Petr Cyhelsky <cyhelsky> |
Component: | Performance | Assignee: | David Strupl <dstrupl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anebuzelsky, thurka |
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: | |
Bug Depends on: | 227668 | ||
Bug Blocks: |
Description
Petr Cyhelsky
2011-12-13 13:41:57 UTC
I have some creative ideas how to implement it ;-) I will create a prototype for review ... http://hg.netbeans.org/prototypes/rev/60f836cb0a8b If anyone wants to try please check out the prototypes repository on branch deadlock_detector_206328, run the (only) test in the module and you will see how the deadlocks are submitted. Feedback welcome ;-) The status is now started ... One word of explanation: I did not include the whole thread dump in the URL because some web browsers (most notably IE) have some limits on URL length. So the thread dump is saved into a file and the user is asked to paste the thread dump into the newly created issue. At the same time I open the text editor with the thread dump ;-) One more change: the thread dump is generated directly into the logger - no need to create a separate file or submit it by the user. The exception reporter will find the log entries in the log and report them on the subsequent start. I am preparing to merge the branch into the trunk after 227668 was integrated. Integrated into 'main-golden', will be available in build *201305172300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/60f836cb0a8b User: David Strupl <dstrupl@netbeans.org> Log: #206328: Initial implementation of deadlock detector and reporter. (transplanted from 018346b67ccd805ff3785d6c63621858748731d8) |