When load testing our new high-volume site before soft launch, we found that we have severe lock contention in org.apache.tapestry5.ioc.internal.services.PerthreadManagerImpl.
It synchronizes on "this" before invoking ThreadLocal.get() and ThreadLocal.remove(), which I believe is unnecessary.
During our tests, approximately 35% of all Tomcat threads were waiting for this lock in any of 10 thread dumps taken 15 seconds apart.
|Resolution||Fixed [ 1 ]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Fix Version/s||126.96.36.199 [ 12314122 ]|
|Summary||Lock contention in PerthreadManagerImpl||Unnecessary and severe lock contention in PerthreadManagerImpl|
|Assignee||Howard M. Lewis Ship [ hlship ]|