Re: DisableExplicitGC

2015-01-21 Thread Daniel Mikusa
On Wed, Jan 21, 2015 at 3:51 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Daniel, > > On 1/21/15 3:16 PM, Daniel Mikusa wrote: > > On Wed, Jan 21, 2015 at 2:59 PM, Mike Seda > > wrote: > > > >> Is it advisable to have the f

Re: DisableExplicitGC

2015-01-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 1/21/15 3:16 PM, Daniel Mikusa wrote: > On Wed, Jan 21, 2015 at 2:59 PM, Mike Seda > 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

Re: DisableExplicitGC

2015-01-21 Thread Mark Thomas
On 21/01/2015 19:59, Mike Seda wrote: > Is it advisable to have the following JVM option set in Tomcat 7 (with > Java 7)? > -XX:+DisableExplicitGC That should be fine. Apps really should not be calling that. > Or will this prevent Tomcat itself from calling System.gc() when it > needs to? Tomcat

Re: DisableExplicitGC

2015-01-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/21/15 3:13 PM, André Warnier wrote: > Mike Seda wrote: >> Is it advisable to have the following JVM option set in Tomcat 7 >> (with Java 7)? -XX:+DisableExplicitGC >> >> Or will this prevent Tomcat itself from calling System.gc() when >

Re: DisableExplicitGC

2015-01-21 Thread Daniel Mikusa
On Wed, Jan 21, 2015 at 2:59 PM, Mike Seda 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

Re: DisableExplicitGC

2015-01-21 Thread André Warnier
Mike Seda wrote: Is it advisable to have the following JVM option set in Tomcat 7 (with Java 7)? -XX:+DisableExplicitGC Or will this prevent Tomcat itself from calling System.gc() when it needs to? Tomcat is probably not doing that anyway (I'll let someone else answer that part), but there m