Synchronization Bottleneck in ComponentConstructorFactoryImpl
-------------------------------------------------------------

                 Key: TAPESTRY-2604
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2604
             Project: Tapestry
          Issue Type: Bug
          Components: Framework
    Affects Versions: 4.1.5
         Environment: JDK 1.5.0_14 64 bit, Tomcat 5.5.26 
            Reporter: Stefan Koelmann
         Attachments: ThreadDumps.zip

After fixing TAPESTRY-2530, it seems we got another performance bottleneck 
during page rendering: Under rather heavy load a lot of threads get stuck at 
ComponentConstructorFactoryImpl.getComponentConstructor. It seems the lock is 
held to long; a lot of threads gets queued and the application stops responding 
properly. 

I attached two threaddumps showing the problem. A possible solution could be to 
split the synchronization lock; guarding only the private field 
_cachedConstructors and not the construction of a new constructors, if this is 
necessary.

Thanks for your help,

Stefan

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to