Hi,
        Pls help to un-suscribe me. Thanks.

Best Regards,
Kelvin



"Mick Woolley" <mick.woolley@logicacmg.com>
Sent by: saxon-help-admin@lists.sourceforge.net

01/13/2005 12:39 AM
Please respond to saxon-help

       
        To:        <saxon-help@lists.sourceforge.net>
        cc:        
        Subject:        [saxon] performance and NamePool synchronization



We are running performance tests on our app and find that there seems to be
considerable time spent contending for access to the NamePool, which
includes a lot of synchronized methods (version 6.5.3).

I wonder if there is any update to this to reduce the amount of
synchronization. In particular, it looks like allocateNamespaceCode might
have its synchronized scope reduced to the processing inside the if block.
Similarly, the two called methods first check if an entry already exists for
the prefix and URI, so they could have their synchronized scope reduced. It
looks like this might enable allocates that turn out to be lookups to
execute concurrently.

I note that saxon 8 has similar but not identical code. Is this a worthwhile
change? When we have a hundred requests we are seeing queues lasting several
hundered msec occuring.

Cheers,
Mick Woolley




This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
saxon-help mailing list
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help


Disclaimer: Please read UTAC's legal disclaimer at http://www.utac.com.sg/html/about_disclaimer.htm#email