[jboss-dev-forums] [JBoss Microcontainer Development] - Re: Optimizing ControllerState
adrian@jboss.org
do-not-reply at jboss.com
Wed Oct 14 11:58:11 EDT 2009
"alesj" wrote : At AS6 meeting we came across some "shocking" ControllerState numbers. :-)
|
| Number of created instances was big,
|
This needs a static method to be able to create/use shared instances of the states
and deprecating the public constructors.
We did a similar thing in JMX for ObjectNames a while ago:
http://www.j2ee.me/j2ee/1.4/docs/api/javax/management/ObjectName.html#getInstance(javax.management.ObjectName)
Looking at the MC, the biggest use of "new ControllerState()" is in the xml parsing and
annotation handling.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260349#4260349
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260349
More information about the jboss-dev-forums
mailing list