https://bz.apache.org/bugzilla/show_bug.cgi?id=60613

--- Comment #7 from Mark Thomas <ma...@apache.org> ---
While the long term advice is still try to restructure the JSP, I've spent time
looking more closely at the generated code. I found several potential changes
that might reduce the overall size of the _jspService() method but because of
compiler optimisations, changes that look like they should reduce the method
size, don't always have the expected effect.

I've now implemented the changes that appear to have a positive effect in trunk
(9.0.x). With the tag I was testing with (the foo tag from the JSP examples)
the number of instances of the tag I could use on a single page were:
- before the try/finally clean-up fixes - 301
- after the try/finally clean-up fixes  - 221
- after clean-up but with optimisations - 292

The figures will vary from tag to tag. The more attributes a tag has, the
greater the effect of the optimisations (the foo tag has three).

I'd like to get some feedback on these changes from end-users (to the dev@ list
please) before back-porting them so any feedback you can provide based on
testing of the current trunk (9.0.x) would be appreciated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to