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: | Deadlock initializing logger from NbTestCase vs. ContextMenuWarmUpTask | ||
---|---|---|---|
Product: | platform | Reporter: | Jaroslav Tulach <jtulach> |
Component: | JDK Problems | Assignee: | Antonin Nebuzelsky <anebuzelsky> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | P1 | ||
Version: | 7.3.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jaroslav Tulach
2013-03-27 08:25:43 UTC
This is a deadlock in JDK. drainLoggerRefQueueBounded is synchronized on LogManager and calls synchronized method on LoggerContext. LoggerContext's synchronized method addLocalLogger has reversed order of locks and calls into synchronized method on LogManager. Please report to JDK team and escalate. ergonomics#a852a55bde4d author : Jaroslav Tulach <jtulach@netbeans.org> date : Wed Mar 27 18:02:25 CET 2013 summary : To workaround #227981 - get the LogManager lock sooner than the LoggerContext lock is acquired JDK bug #8010939 Downgrading to any JDK older than JDK7_u13 should fix the problem. |