Hi,
In order to fix some GC problems in StandardPipeline and
StandardWrapper, where they allocate some context objects (for the
first, it means 3 objects / request, for the second, one complex object
/ request), I need to add methods to the Request interface:
- get/setFilterChain
- get/setValveContext
This ties the contexts to the Request, which itself is thread safe, so
the objects can be reused. It will not break compatibility with any
existing module. This removes two hotspots, as well as improves GC :)
When the security manager is enabled, the filter chain will not be
reused, to prevent possible exploits.
IMO, this change should not be ported to the 4.1.x branch.
Comments ?
Remy
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- catalina 2.0 still only SDK 1.4 ? Henri Gomez
- Re: catalina 2.0 still only SDK 1.4 ? Remy Maucherat
- Re: [5.0] Adding methods to Request Remy Maucherat
- Re: [5.0] Adding methods to Request Costin Manolache
- SSI Security Hack Dan Sandberg
- Re: SSI Security Hack Pier Fumagalli
- Re: [5.0] Adding methods to Request Remy Maucherat