[seam-dev] Some profiling of blocking threads
Emmanuel Bernard
emmanuel at hibernate.org
Thu Sep 25 10:01:14 EDT 2008
On Sep 25, 2008, at 09:17, Jay Balunas wrote:
>> org.ajax4jsf.application.AjaxViewHandler
>> --------------------------------------------
>> - This was not a large % of the blocked threads but caught my eye
>> as a potential trouble spot because it seemed directly related to
>> ajax calls.
>> - This was easier to track down and the root cause is in the
>> org.ajax4jsf.application.ViewHandlerWrapper class.
>> - see http://anonsvn.jboss.org/repos/richfaces/trunk/framework/api/src/main/java/org/ajax4jsf/application/ViewHandlerWrapper.java
>> - The problem is all the calls to "fillChain" which is a
>> synchronized method in the class.
>> - We need to find out how often the "_initialized" field is false
>> - is this once a request, once for each component, etc...
>> - it appears to be called many times - I will look further into
>> this.
>
>
> I will raise this the richfaces dev guys, and see what can be done.
Using the double check lock pattern with a volatile should make things
better. It has to be done right though :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20080925/8ec4d7d6/attachment.html
More information about the seam-dev
mailing list