BT

InfoQ Homepage News Zero Turnaround releases Eclipse Optimizer

Zero Turnaround releases Eclipse Optimizer

Bookmarks

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
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.

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

Community comments

  • excellent

    by Ariel Saidel /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    free? excellent idea!!

  • Precision about -server

    by Aurélien Pupier /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    "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

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

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.