gc options for best JFX performance

Jose Martinez jmartine_1026 at yahoo.com
Fri Jun 1 22:35:35 PDT 2012


Hello,

I have tried the following GC modes but none of them get rid of the noticeable 'stop the world' delays.

-XX:+UseParallelGC 

-XX:-UseParallelOldGC

-XX:-UseParNewGC 

-XX:+UseConcMarkSweepGC


Out of those my favorite so far is UseParNewGC.

I also use the following options.
--Xms150m -Xmx200m  -XX:MaxGCPauseMillis=1  

 
Are there other options that you would recommend?  Has anyone come up with a concoction of options that works best or a rule of thumb for configuring GC in JFX applications?

If I cannot find a good set of options I will have to resort to calling System.gc() at strategic intervals.
 
thanks
jose


More information about the openjfx-dev mailing list