Github user michaelandrepearce commented on the issue:
https://github.com/apache/activemq-artemis/pull/1263
@franz1981
On 1) compute isn't being used within this class, the methods used are
::get ::put ::contains ::containsKey, indeed this is why i state this is
targeted, instead of your original blanket replace all, each case should be
evaluated and implemented on merit.
On 2) agreed, in warm up stages we would see this, but once warm and
message rate through the broker, it would stabilise its size, this is why we
don't see hashmap.entry being created heavily in the profiler once warm.
On 3) good spot. lets address that.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---