Hi, Details of our application are given below: OS: RHEL 8.x [OpenSSL version: 1.1.1] Configuration: We're using Tomcat as an HTTP Server, but it is embedded as part of our application Java version: Java 8u381
We're using Apache Tomcat 9.0.86 and are considering an update to 9.0.98. During the update, we noticed this commit, where we saw a System.gc() call: Avoid possible crashes with OpenSSL * apache/tomcat@bb4a5a0 * GitHub<https://github.com/apache/tomcat/commit/bb4a5a08603d8e1d67b4249fe8c634571a6ec852>. If we choose to stop our HTTP server [and the JVM chooses to honor this System.gc() call] it will not just affect Tomcat, but the entire JVM and may cause issues to our application. The commit message says it'll occur mostly with the Tomcat test suite but the impacts of the gc call may affect the entire application. We were wondering why this System.gc() was added. Request you to share your views. Regards, Manisha