Eclipse Luna的最佳JVM设置是什么(性能更好)?

时间:2015-01-20 05:04:16

标签: eclipse performance jvm eclipse-luna

此问题与What are the best JVM settings for Eclipse?

有关

您运行 Eclipse Luna 时找到的最佳JVM设置是什么?

以下是blog entry对此的描述。


这是我当前的eclipse.ini设置(x64核心i5,8GB RAM机器):

更新:进一步优化。

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showlocation
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:/Dev/Java/jdk1.7.0/jre/bin/server/jvm.dll
-Duser.name=James Bond
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Declipse.p2.unsignedPolicy=allow
-Dcom.sun.management.jmxremote
-Xverify:none
-Xms384m
-Xmx1g
-Xss4m
-XstartOnFirstThread
-XX:PermSize=256m
-XX:MaxPermSize=512m
-XX:MaxGCPauseMillis=10
-XX:MaxHeapFreeRatio=70
-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
-XX:+UseFastAccessorMethods
-XX:-DontCompileHugeMethods
-XX:MaxInlineSize=1024
-XX:FreqInlineSize=1024
-XX:-UseLoopPredicate

1 个答案:

答案 0 :(得分:1)

正如您在问题What are the best JVM settings for Eclipse中提到的那样,您也可以对luna使用相同的设置。

注意:如果您使用的是JRE 8,则MaxPermSize = 128m;支持在8.0中删除

相关问题