Speeding up Eclipse (a bit) with +UnlockExperimentalVMOptions

April 30th, 2010 Leave a comment Go to comments

Although Sun’s JVM had this for quite a long time now, you might not know you can turn on some experimental options such as UseFastAccessorMethods and UseG1GC, which is a new garbage collector that uses parallel processors.

This might improve quite a bit your Eclipse’s performance, it improved mine. So try it out and share what did worked for you.

Warning: do NOT turn those flags on at your production environments.

Just add to your -vmargs launching arguments:

eclipse -vmargs

-XX:+UnlockExperimentalVMOptions

-XX:+UseG1GC

-XX:+UseFastAccessorMethods

Some people reported a great improvement in performance, not only in Eclipse, but also in other Java apps. For me it improved a little.

Some people also used other parameters (which didnt worked for my environment).

A complete list of jvm options may be found here, some are interesting like:

-XX:+AggressiveHeap
-XX:+AggressiveOpts
-XX:ParallelGCThreads=2
-XX:ThreadPriorityPolicy=1

Does it works for you? Please comment.

Tags: ,

custom essay

  • There are variegated situations and underlays in my life chiefly, when I receive custom essay privately. The basic one is that principally I haven’t whacking talent to construct sundry whopping runs. It is better for me completely to trace the specific aid. My amazing ordered holds are not shady and predominantly without basic slips, which must preclude upshots of my tested study.