Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
MetricManager registry creation and remove listeners can be invoked concurrently (the only synchronization is via map.computeIfAbsent which provides key-level granularity.
As a result, some of the beans are lost and I get an occasional assertion on
boolean rmv = mBeans.remove(mbeanName); assert rmv;
Changing the collection to a synchronized list should suffice.
Attachments
Issue Links
- links to