High CPU due to unsafe HashMap access in org.apache.felix.framework.util.WeakZipFileFactory$WeakZipFile
Issue
- We see high CPU with many threads in the following code:
"Camel (redhat-messaging) thread #23 - QueueReplyManager[com.project.redhat.brms.message.processor.resp.project-soa-fuse1-zone4-v0197]" daemon prio=10 tid=0x00007fffd54de000 nid=0xd564 runnable [0x00007fff4fcfa000]
java.lang.Thread.State: RUNNABLE
at java.util.HashMap.put(HashMap.java:494)
at java.util.HashSet.add(HashSet.java:217)
at org.apache.felix.framework.util.WeakZipFileFactory$WeakZipFile.getInputStream(WeakZipFileFactory.java:276)
Environment
- JBoss Fuse 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.