As I work through the SSL changes, I've been thinking about the remaining differences between the connectors and in a couple of cases I've started to wonder if some of the features should be retained in Tomcat 9.
First on my list is the OOM parachute. The feature reserves a block of memory and then releases it if an OOME occurs to give the JVM a chance to recover. Providing a way to recover from OOME is a good thing but I think the feature is logically flawed and - therefore - I'd like to remove it. My reasoning is as follows: - The parachute only protects against OOME in the NIO(2) poller. - The parachute reserves memory that would otherwise by available for normal operation. It effectively makes an OOME more likely everywhere apart from the Poller since less memory is available for normal operation. - I don't recall a single user reporting having seen an OOM Parachute related error message - APR/native has has no such protection. (If the OOM Parachute was effective I'd be in favour of extending it to APR/native.) Assuming there are no objections, I'll probably do this next week. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org