Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java IDE » Eclipse  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:Eclipse使用技巧 - GC settings to improve Eclipse startup [Re:yamakasy]
why

問題兒童

总版主


发贴: 4629
积分: 388
于 2003-04-11 22:43 user profilesend a private message to usersend email to whysearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
樓上的大俠:yamakasy 在上面寫得清楚,“不要讨论,如果有疑问,请不要跟贴,请另外从新发贴”啦!
不過小的即管答一答:
“搞好了后,在里面怎么用?” Help 裏有Java SDK Docuementation囉!
“是不是会弹出javac的command窗口” 不是啊!(之前少了一個不字,抱歉-ing)


從小的的舊帖子上抄過來:
(如有需要,請到 http://www.cjsdn.com/post/view?bid=7&id=16864 回應啦!)

from: http://www.raibledesigns.com/page/rd/20030312
I (the author) changed my shorcut icon (Win2K) to have the following as it's target:
eclipse.exe -vmargs -Xverify:none -XX:+UseParallelGC -XX:PermSize=20M -XX:MaxNewSize=32M -XX:NewSize=32M -Xmx256m -Xms256m

Eclipse now starts in a mere 6 seconds (2 GHz Dell, 512 MB RAM). Without these extra settings, it takes 11 seconds to start. That's what I (the author) call a performance increase! (2003-03-12 09:32:04.0)

from: http://www.raibledesigns.com/comment.do?method=edit&entryid=065039163189104748672473500018
I (the author) tried this out, but the memory settings don't seem to have anything to do with startup time.
18 seconds - "eclipse.exe"
13 seconds - "eclipse.exe -vmargs -Xverify:none"
12 seconds - "eclipse.exe -vmargs -Xverify:none -XX:+UseParallelGC -XX:PermSize=20M -XX:MaxNewSize=32M -XX:NewSize=32M -Xmx96m -Xms96m"

It's only the Xverify:none parameter which has a noticeable effect on reducing startup time. On the java website I found that this parameter turns off bytecode verification ( http://developer.java.sun.com/developer/onlineTraining/Security/Fundamentals/Security.html ), although the default is supposedly "only verify classes loaded over the network".

小的找了一部有500MHz PIII + 384MB的電腦測試 Eclipse 2.1︰
26 seconds - "eclipse.exe"
18 seconds - "eclipse.exe -vmargs -Xverify:none"
15 seconds - "eclipse.exe -vmargs -Xverify:none -XX:+....

在我那有大量 plug-ins 的 eclipse 2.1,用了 -vmargs -Xverify:none 啟動時間由10秒降至5-6秒。
似乎在 WSAD 也一樣有效。


why edited on 2003-04-12 02:13


话题树型展开
人气 标题 作者 字数 发贴时间
211036 Eclipse使用技巧 yamakasy 55 2003-04-08 00:20
197859 将JDK Document集成到Eclipse中(转贴) yamakasy 122 2003-04-08 00:24
196564 Re:将JDK Document集成到Eclipse中(转贴) wyan716 177 2003-04-09 13:33
190830 Re:将JDK Document集成到Eclipse中(转贴) mefaint 213 2004-01-31 18:56
189354 Re:Eclipse使用技巧 huxingan 28 2003-11-28 15:48
188997 Re:Eclipse使用技巧 huxingan 16 2003-11-28 15:50
190833 Re:Eclipse使用技巧 scottding 39 2003-09-23 20:04
190786 Re:Eclipse使用技巧 liufancjsdn 117 2003-09-24 09:09
189647 Re:Eclipse使用技巧 toString 106 2003-11-17 16:15
191113 Re:Eclipse使用技巧 wes109 20 2003-09-24 08:44
190516 Re:Eclipse使用技巧 dapan 105 2003-09-24 11:03
190858 Re:Eclipse使用技巧 wes109 109 2003-09-24 11:16
189085 Re:Eclipse使用技巧 nsd 125 2003-12-16 22:28
187716 Re:Eclipse使用技巧 gamethelife 103 2004-01-13 16:40
190591 Re:Eclipse使用技巧 姚崇铧 40 2003-09-26 09:36
186699 Re:Eclipse使用技巧 JAVA9 12 2004-02-24 14:46
190474 Re:Eclipse使用技巧 姚崇铧 76 2003-09-26 09:44
190512 Re:Eclipse使用技巧 scottding 43 2003-09-26 13:05
190191 Re:Eclipse使用技巧 姚崇铧 61 2003-09-26 14:13
190185 Re:Eclipse使用技巧 jazzy 35 2003-10-04 14:40
190200 Re:Eclipse使用技巧 jazzy 70 2003-10-04 14:48
190977 Re:Eclipse使用技巧 Jove 163 2003-10-04 16:08
190544 Re:Eclipse使用技巧 scottding 117 2003-10-06 11:48
194003 Re:Eclipse使用技巧 merlin45 122 2003-04-09 00:50
190183 Re:Eclipse使用技巧 dliang 14 2003-10-05 01:31
192438 察看源代码的方法 neilyoung 229 2003-10-14 17:39
190652 Re:察看源代码的方法 Jove 107 2003-10-14 18:06
190490 Re:察看源代码的方法 neilyoung 303 2003-10-14 18:18
193493 Re:察看源代码的方法 Jove 187 2003-10-14 19:13
192527 Javadoc comments neilyoung 545 2003-10-14 18:09
190517 Re:Eclipse使用技巧 neilyoung 119 2003-10-15 10:08
190564 Re:Eclipse使用技巧 蓝色虾 151 2003-10-19 16:30
182523 Re:Eclipse使用技巧 beming 197 2004-08-05 12:43
191975 Re:Eclipse使用技巧 TopCool 314 2003-10-22 09:18
190305 Re:Eclipse使用技巧 dfasdf 128 2003-10-27 19:50
189643 Re:Eclipse使用技巧 cliekid 89 2003-11-01 09:47
189714 Re:Eclipse使用技巧 mefaint 24 2003-11-04 19:13
189784 Re:Eclipse使用技巧 dgjin 14 2003-11-14 09:43
194662 Re:Eclipse使用技巧 song_gc 77 2003-04-10 09:20
190020 Re:Eclipse使用技巧 yushibing 28 2003-11-07 15:50
189702 Re:Eclipse使用技巧 Jove 152 2003-11-13 14:09
189298 Re:Eclipse使用技巧 thzj 29 2003-11-14 15:31
189551 Re:Eclipse使用技巧 Jove 50 2003-11-14 15:33
189234 Re:Eclipse使用技巧 thzj 25 2003-11-14 16:11
189079 Re:Eclipse使用技巧 cliekid 57 2003-11-18 16:13
188930 Re:Eclipse使用技巧 istary 86 2003-12-15 12:24
188481 Re:Eclipse使用技巧 xiaoduzi 97 2003-12-16 15:03
186827 Re:Eclipse使用技巧 Copenhagen 283 2004-02-23 08:11
182235 Re:Eclipse使用技巧 beming 158 2004-08-05 12:45
189093 Re:Eclipse使用技巧 donycosmos 412 2003-12-16 17:15
188215 Re:Eclipse使用技巧 鸡肋男 12 2003-12-26 15:46
187815 Re:Eclipse使用技巧 gamethelife 84 2004-01-13 16:47
193779 Re:Eclipse使用技巧 - GC settings to improve Eclipse startup why 1776 2003-04-11 22:43
187797 Re:Eclipse使用技巧 hotyaya 22 2004-02-10 15:40
186412 Re:Eclipse使用技巧 penshow 57 2004-02-26 13:18
186375 Re:Eclipse使用技巧 yrlong 14 2004-03-08 17:17
187288 Re:Eclipse使用技巧 PrimeJava 218 2004-03-16 08:18
186087 Re:Eclipse使用技巧 mummy_zc 263 2004-03-18 18:55
186195 Re:Eclipse使用技巧 PrimeJava 30 2004-03-22 10:12
186513 Re:Eclipse使用技巧 sungo 125 2004-03-26 16:31
185621 Re:Eclipse使用技巧 tomclucluze 17 2004-04-02 10:42
185269 Re:Eclipse使用技巧 penshow 45 2004-04-08 11:24
183993 Re:Eclipse使用技巧 realfun 102 2004-05-28 14:28
179966 Re:Eclipse使用技巧 ronnin 167 2004-10-15 11:04
194698 Eclipse的Plug-In luoq_dl 83 2003-05-02 15:12
183588 Re:Eclipse使用技巧 jwz 69 2004-06-14 10:44
182604 Re:Eclipse使用技巧 zhshfeng_xx 406 2004-06-15 19:31
184079 Re:Eclipse使用技巧 Swallor 33 2004-06-17 17:40
182573 Re:Eclipse使用技巧 yhx0000 15 2004-07-28 17:03
182518 Re:Eclipse使用技巧 dengyin2000 42 2004-08-05 11:37
181600 Re:Eclipse使用技巧 tongang 59 2004-08-21 00:19
177799 Re:Eclipse使用技巧 pensun37 5130 2004-11-18 12:03
179386 Re:Eclipse使用技巧 pensun37 56 2004-11-18 12:04
179042 Re:Eclipse使用技巧 mailxp 244 2004-11-29 17:49
185612 Re:Eclipse使用技巧 songbenlijia 83 2004-12-27 02:46
192045 Re:Eclipse使用技巧 rainman 67 2003-09-16 06:56
192779 Re:Eclipse使用技巧 merlin45 64 2003-05-07 17:32
189822 Re:Eclipse使用技巧 l_walker 118 2003-11-21 21:23
192341 Re:Eclipse使用技巧 superalex 265 2003-05-24 09:42

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923