Hi,
we did performance tests in myfaces core project recently and we found
two performance problems in tomcat (7.0.26):
1) javax.el.ExpressionFactory.newInstance() does not cache instance
created with javax.el.ExpressionFactory.newInstance. - every invocation
of this method reads service .properties file again and accesses disk.
This was discussed a time ago [1], but I forgot to report it.
2) org.apache.catalina.core.ContainerBase.fireContainerEvent;
That method contains critical section:
synchronized (listeners) {
list = listeners.toArray(list);
}
Is is called pretty often with every put operation into request or
session map. That code in tomcat looks like a candidate for
CopyOnWriteArrayList
Can I create a bugzilla ticket fot those two?
Regards,
Kočičák
[1] http://www.mail-archive.com/[email protected]/msg48482.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]