[jboss-dev-forums] [JBoss Microcontainer Development] - Re: Optimizing ControllerState

kabir.khan@jboss.com do-not-reply at jboss.com
Thu Oct 29 08:19:23 EDT 2009


Cool,

Let me know when you have checked it and I can add this to AbstractController. 

One minor issue is the iterator() and listIterator() methods, which are not thread safe at the moment. The other methods are called with a lock taken in AbstractController. For the iterator methods I need to readLock, take a snapshot into a list and return iterators to that list.

Another thing I have not checked is how states work in a hierarchy of controllers

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262931#4262931

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262931



More information about the jboss-dev-forums mailing list