Speeding up Eclipse (a bit) with +UnlockExperimentalVMOptions
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.

Nice! All tips to speed up Eclipse are very welcome.
thank you very much for this tip,
but I can't see any performance-optimization here,
eclipse runs as always.
You are right ^^
Probably the performance gain here is due to the G1GC garbage collector only.
I will update the post, thank you for the correction!
Did you tried the Aggressive options as well?
perhaps if you try with: -vmargs -XX:ParallelGCThreads=20 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -XX:+AggressiveOpts
It uses the old parallel garbage collection, but with some options, try it.
thank you for the input
[...] have been reported in this blog post to potentially speed up Eclipse. See all the JVM options here and also in the official Java Hotspot [...]
[WORDPRESS HASHCASH] The comment’s server IP (72.232.117.6) doesn’t match the comment’s URL host IP (76.74.254.120) and so is spam.