users@glassfish.java.net

Re: System.gc() considered harmful

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Mon, 14 Jun 2010 10:32:22 +0200

This makes sense.
Please file an issue @ https://glassfish.dev.java.net/issues/enter_bug.cgi?issue_type=DEFECT in the "performance" category.
I'll vote for it!

cheers,
-Alexis

On 11 juin 2010, at 21:59, glassfish_at_javadesktop.org wrote:

> I recommend that glassfish have the switch to disable explicit garbage collection with System.gc() included in the default installed setup. I inherited code with an explicit gc() call, and I suspect a 3rd party library was also calling it.
>
> -XX:+DisableExplicitGC
>
> This blog entry sums it up nicely: http://java-n-stuff.blogspot.com/2009/08/turn-on-disableexplicitgc-now.html
>
> With this and some other performance tuning glassfish is running much better for me.
> [Message sent by forum member 'culli']
>
> http://forums.java.net/jive/thread.jspa?messageID=473951
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>