tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49613] Request.getAttributeNames() slows down some applications
Date Mon, 19 Jul 2010 10:41:32 GMT

--- Comment #2 from Sampo Savolainen <> 2010-07-19 06:41:28 EDT ---
Application frameworks like MyFaces use attributes while rendering a page.
Tomcat reads all SSL connector attributes for every call to
getAttributeNames(). This creates a large number of calls to
getAttributeNames(). The current 6.0.x implementation is very slow as it does
not recognize it has already read the SSL specific attributes. 

I will attach a patch which uses an object boolean field to determine whether
the SSL attributes have already been read or not. The speedup to the profiled
application is 10x.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message