AbstractApplicationEventMulticaster#getApplicationListeners() should have double check for 'this.retrieverCache.get(cacheKey)' within synchronized block [SPR-10351] #14985
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
Uh oh!
There was an error while loading. Please reload this page.
Artem Bilan opened SPR-10351 and commented
In the multi-threaded publishing events environment
AbstractApplicationEventMulticaster#supportsEvent()
may be invoked twice (or more) for the same event type: from first Thread, who builds cache entry in the synchronized block, and from second (and so on), who is waiting synchronization monitor.Issue Links:
The text was updated successfully, but these errors were encountered: