Thursday, October 11, 2012

Adventures with Eclipse..playing with -server JVM mode and -XX:TieredCompilation

Another quick late night Eclipse test hack I guess. 

Well it is the Java application that I use the most, meaning at least 9-10 hours per day. In my case it is a long running instance, I try to garbage collect once in a while and in general I am pissed when I do have a crash or delays, since I am working on fairly large workspaces.

So, I red this regarding the -XX:TieredCompilation setting (through re post by the Java Code Geeks). Then I started reading posts like this and this...and this.I thought I can give it a try.

Edited my eclipse.ini, added in the -vmargs section the -server mode (yes I switched the mode ) and applied TieredCompilation. I am not sure if I gained much, it is really getting late, but I'm going to experiment a bit at work, towards the overall perfomance of Eclipse during a day. 

At the same time, I am going to mess a bit with my local Weblogic and JBoss 7 instances and see how performance is affected during functional testing, with such a twist. 

Let me know if you do the same, and how it worked for you- especially with Eclipse (Juno that is, on JDK7).



1 comment: