Deadlock on the beanDefinitionMap and singletonObjects [SPR-9199] #13837
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: duplicate
A duplicate of another issue
Uh oh!
There was an error while loading. Please reload this page.
LiangFei opened SPR-9199 and commented
The "get bean thread" and the "init context thread" deadlock.
get bean thread:
(a) DefaultSingletonBeanRegistry.getSingleton(): synchronized(singletonObjects)
(b) -> getObject() -> DefaultListableBeanFactory.getBeanNames(): synchronized(beanDefinitionMap)
init context thread:
(a) DefaultListableBeanFactory.preInstantiateSingletons(): synchronized(beanDefinitionMap)
(b) -> getBean() -> DefaultSingletonBeanRegistry.getSingleton(): synchronized(singletonObjects)
Affects: 2.5.6
Attachments:
Issue Links:
The text was updated successfully, but these errors were encountered: