BT

Your opinion matters! Please fill in the InfoQ Survey!

Zero Turnaround releases Eclipse Optimizer

| by Alex Blewitt Follow 2 Followers on Mar 11, 2015. Estimated reading time: 1 minute |

A note to our readers: As per your request we have developed a set of features that allow you to reduce the noise, while not losing sight of anything that is important. Get email and web notifications by choosing the topics you are interested in.

At EclipseCon 2015, Zero Turnaround (creators of JRebel, the popular tool that eliminates redeploys in Java) released Optimizer for Eclipse which is a self-guided user interface for adjusting JVM settings to improve performance. When installed from the Eclipse Marketplace, a guided set of steps ask the user whether to adjust memory settings and other performance flags into the JVM startup arguments, which provide a boost to the launch of the application.

At startup, eclipse loads many classes and by default will run the JVM bytecode verifier, which can add additional start-up time. By adding the -Xverify:none to the JVM arguments, the bytecode verifier is disabled which decreases the start-up time.

In addition, if the computer is multi-core the -server and -XX:+UseParallelGC flags are added, which can create faster code by performing JIT in advance, and using the parallel garbage collection can increase memory performance of the application.

Finally, if the JVM and computer supports it, the memory settings (in particular, the initial heap size and the max heap size) are increased, along with the +XX:PermSize (which is valid for Java 7 and below).

After restart, the Eclipse instance shows a welcome screen which indicates how much faster Eclipse is starting up with the new settings:

Splash screen for Optimizer logo

The optimizer can also be used to tidy up some of the metadata and logs (similar to clearing history in a browser) which can speed up Eclipse. Each option is incorporated in the menu so these changes can be selectively applied.

Under the covers, the changes are applied to the eclipse.ini file, which can subsequently be reverted if necessary.

A video demo showing the tool in use is available.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

excellent by Ariel Saidel

free? excellent idea!!

Precision about -server by Aurélien Pupier

"In addition, if the computer is multi-core the -server and -XX:+UseParallelGC flags are added, which can create faster code by performing JIT in advance, and using the parallel garbage collection can increase memory performance of the application."

-server will modify something only for Windows Users with i586 arch with a "recent machine" (aka "server-class" machine >2CPUs and >2Gb RAM) see docs.oracle.com/javase/7/docs/technotes/guides/...

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT