On Wed, Jan 21, 2015 at 2:59 PM, Mike Seda <mike.s...@lillegroup.com> wrote:

> Is it advisable to have the following JVM option set in Tomcat 7 (with
> Java 7)?
> -XX:+DisableExplicitGC
>

It may or may not make a difference.  Some questions like these come to
mind...

  - How would you feel if one of the applications you deployed called
System.gc()?
  - How about if it called it a lot? or at a really inconvenient time?
  - How much do you trust your apps or their developers?
  - Does one of your apps rely on that functionality for some reason?


>
> Or will this prevent Tomcat itself from calling System.gc() when it
> needs to?
>

I really doubt Tomcat would call that.

Dan

Reply via email to