Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 212263 - Deadlock between NbLoaderPool.class and DataLoaderPool.class
Deadlock between NbLoaderPool.class and DataLoaderPool.class
Product: platform
Classification: Unclassified
Component: Data Systems
PC Linux
: P3 (vote)
: 7.2
Assigned To: Jaroslav Tulach
Depends on:
Blocks: 211820
  Show dependency treegraph
Reported: 2012-05-09 21:46 UTC by Jesse Glick
Modified: 2012-05-23 09:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT

Thread dump (19.03 KB, text/plain)
2012-05-09 21:46 UTC, Jesse Glick

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2012-05-09 21:46:24 UTC
Dev build. Very similar to bug #211820 but slightly different call sequence in "main"; NbLoaderPool.doAdd is still synchronized:

	at org.openide.loaders.DataLoaderPool.getDefault(
	- waiting to lock <0xabe687c0> (a java.lang.Class for org.openide.loaders.DataLoaderPool)
	at org.netbeans.core.NbLoaderPool.getNbLoaderPool(
	at org.netbeans.core.NbLoaderPool.doAdd(
	- locked <0xabe68848> (a java.lang.Class for org.netbeans.core.NbLoaderPool)
	at org.netbeans.core.NbLoaderPool.add(
	at org.netbeans.core.CoreBridgeImpl.loadLoaderSection(
Comment 1 Jesse Glick 2012-05-09 21:46:55 UTC
Created attachment 119237 [details]
Thread dump
Comment 2 Jaroslav Tulach 2012-05-21 12:03:43 UTC
Comment 3 Quality Engineering 2012-05-23 09:03:56 UTC
Integrated into 'main-golden', will be available in build *201205230300* on (upload may still be in progress)
User: Jaroslav Tulach <>
Log: #212263: Deadlock between NbLoaderPool.class and DataLoaderPool.class
don't call getNbLoaderPool() under lock

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo