Currently, deployed applications do not hold a RL lock while processing requests. If we
introduce a RL lock to be held while processing requests, will that be slower?
There is some potential additional overhead to the ReadWriteLock
(
http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/locks/ReadWr...).
Perhaps it would be better (performance wise) to synchronize on the session level facade
object as I think the performance should be close to what applications currently see
(whether or not they also synchronize on the session object when accessing mutable
attributes).
What do you think?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241218#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...