Details
Description
We've scenario where there are 2000 ActiveMQ queues running in Karaf with hawtio that leverages RBAC.
hawtio, through Jolokia library calls org.apache.karaf.management.JMXSecurityMBean#canInvoke(java.util.Map<java.lang.String,java.util.List<java.lang.String>>) method passing map of >2000 MBeanNames to lists of average size = 20.
Thus we have >40000 calls to one of org.apache.karaf.management.internal.JMXSecurityMBeanImpl#canInvoke() methods for pairs of MBean+signature and we have equal number of calls to org.osgi.service.cm.ConfigurationAdmin#listConfigurations("(service.pid=jmx.acl*)".