亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? jvm-tuning.xtp

?? RESIN 3.2 最新源碼
?? XTP
字號:
<document><header><product>resin</product><title>JVM Tuning</title><description><p>Better performance in production servers is possible with proper configurationof JVM parameters, particularily those related to memory usage and garbagecollection.</p></description></header><body><summary/><s1 name="memory" title="Heap size"><p>The allocation of memory for the JVM is specified using -X options whenstarting Resin (the exact options may depend upon the JVM that you are using,the examples here are for the Sun JVM).</p><deftable><tr>  <th>JVM option passed to Resin</th>  <th>Meaning</th></tr><tr>  <td>-Xms</td>  <td>initial java heap size</td></tr><tr>  <td>-Xmx</td><td>maximum java heap size</td></tr><tr>  <td>-Xmn</td>  <td>the size of the heap for the <i>young generation</i></td>  </tr>  </deftable><example title="Example: resin.xml startup with heap memory options">&lt;resin xmlns="http://caucho.com/ns/resin">&lt;cluster id="">  &lt;server id="" address="127.0.0.1" port="6800">    &lt;jvm-arg>-Xmx500M&lt;/jvm-arg>    &lt;jvm-arg>-Xms500M&lt;/jvm-arg>    &lt;jvm-arg>-Xmn100M&lt;/jvm-arg>    &lt;http port="80"/>  &lt;/server>  ...&lt;/cluster>&lt;/resin></example><p>It is good practice with server-side Java applications like Resin to set theminimum <var>-Xms</var> and maximum <var>-Xmx</var> heap sizes to the same value.</p><p>For efficient <a href="#garbage-collection">garbage collection</a>, the<var>-Xmn</var> value should be lower than the <var>-Xmx</var> value.</p><s2 title="Heap size does not determine the amount of memory your process uses"><p>If you monitor your java process with an OS tool like top or taskmanager,you may see the amount of memory you use exceed the amount you have specifiedfor -Xmx.  -Xmx limits the java heap size, java will allocate memory for otherthings, including a stack for each thread. It is not unusual for the totalmemory consumption of the VM to exceed the value of -Xmx.</p></s2></s1> <!-- memory --><s1 name="garbage-collection" title="Garbage collection"><p>(thanks to Rob Lockstone for his comments)</p> <p>There are essentially two GC threads running. One is a very lightweightthread which does "little" collections primarily on the Eden (a.k.a.Young) generation of the heap. The other is the Full GC thread whichtraverses the entire heap when there is not enough memory left toallocate space for objects which get promoted from the Eden to theolder generation(s).</p><p>If there is a memory leak or inadequate heap allocated, eventually the oldergeneration will start to run out of room causing the Full GC thread to run(nearly) continuously. Since this process "stops the world", Resin won't beable to respond to requests and they'll start to back up.</p><p>The amount allocated for the Eden generation is the value specified with<var>-Xmn</var>.  The amount allocated for the older generation is the value of<var>-Xmx</var> minus the <var>-Xmn</var>.  Generally, you don't want the Eden to betoo big or it will take too long for the GC to look through it for space thatcan be reclaimed.</p><p>See also:</p><ul><li><a href="troubleshoot.xtp#garbage-collector">Troubleshooting Technique: Garbage Collector</a></li><li><a href="http://java.sun.com/docs/hotspot/gc1.4.2/">Sun documentation on garbage collection</a></li></ul></s1> <!-- garbage-collection --><s1 name="stack-size" title="Stack size"><p>Each thread in the VM get's a stack.  The stack size will limit the number ofthreads that you can have, too big of a stack size and you will run out ofmemory as each thread is allocated more memory than it needs.</p><p>The Resin startup scripts (resin.exe on Windows, resin.sh on Unix) will setthe stack size to 2048k, unless it is specified explicity.  2048k is anappropriate value for most situations. </p><deftable title="Stack configuration"><tr>  <th>&lt;jvm-arg></th>  <th>Meaning</th></tr><tr>  <td>-Xss</td>  <td>the stack size for each thread</td></tr></deftable><p><code>-Xss</code> determines the size of the stack: <code>-Xss1024k</code>.If the stack space is too small, eventually you will see an exception <a href="javadoc|java.lang.StackOverflowError|"/>.</p><p>Some people have reported that it is necessary to change stack size settingsat the OS level for Linux.  A call to <code>ulimit</code> may be necessary, andis usually done with a command in /etc/profile:</p><example title="Limit thread stack size on Linux">unix> ulimit -s 2048</example></s1><s1 name="monitor" title="Monitoring the JVM"><p>JDK 5 includes a number of tools that are useful for monitoring the JVM.Documentation for these tools is available from the<a href="http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html#manage">Sunwebsite</a>.  For JDK's prior to 5, Sun provides the<a href="http://developer.sun.com/dev/coolstuff/jvmstat">jvmstat tools</a>.</p><p>The most useful tool is <var>jconsole</var>.  Details on using jconsole areprovided in the <a href="jmx.xtp#console">Administration</a> section of theResin documentation.</p><example title="Example: jconsole configuration">&lt;resin xmlns="http://caucho.com/ns/resin">&lt;cluster id="">  &lt;server-default>    &lt;jvm-arg>-Dcom.sun.management.jmxremote&lt;/jvm-arg>  &lt;/server-default>  &lt;server id="" address="127.0.0.1" port="6800"/>  ...&lt;/cluster>  &lt;/resin></example><example title="Example: jconsole launching"><i> ... in another shell window ... </i>win&gt; jconsole.exeunix&gt; jconsole<i>Choose Resin's JVM from the "Local" list.</i></example><p><var>jps</var> and <var>jstack</var> are also useful, providing a quick command linemethod for obtaining stack traces of all current threads.Details on obtaining and interpreting stack traces is in the<a href="troubleshoot.xtp#thread-dump">Troubleshooting</a>section of the Resin documentation.</p><example title="jps and jstack"><b># jps</b>12903 Jps20087 Resin<b># jstack 20087</b>Attaching to process ID 20087, please wait...Debugger attached successfully.Client compiler detected.JVM version is 1.5.0-beta2-b51Thread 12691: (state = BLOCKED) - java.lang.Object.wait(long) (Compiled frame; information may be imprecise) - com.caucho.util.ThreadPool.runTasks() @bci=111, line=474 (Compiled frame) - com.caucho.util.ThreadPool.run() @bci=85, line=423 (Interpreted frame) - java.lang.Thread.run() @bci=11, line=595 (Interpreted frame)Thread 12689: (state = BLOCKED) - java.lang.Object.wait(long) (Compiled frame; information may be imprecise) - com.caucho.util.ThreadPool.runTasks() @bci=111, line=474 (Compiled frame) - com.caucho.util.ThreadPool.run() @bci=85, line=423 (Interpreted frame) - java.lang.Thread.run() @bci=11, line=595 (Interpreted frame)...</example></s1></body></document>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一区二区三区网站| 26uuu精品一区二区三区四区在线| 成人午夜免费电影| 国内欧美视频一区二区 | 亚洲国产美女搞黄色| 专区另类欧美日韩| 亚洲另类色综合网站| 亚洲视频中文字幕| 一区二区三区日本| 亚洲国产欧美在线人成| 五月激情综合色| 蜜桃视频在线观看一区| 久国产精品韩国三级视频| 韩国毛片一区二区三区| 国产精品自拍三区| a亚洲天堂av| 在线观看不卡视频| 欧美午夜宅男影院| 日韩欧美色综合网站| 久久久国产精品不卡| 国产精品视频一二三区| 亚洲视频一区在线观看| 亚洲国产精品久久人人爱蜜臀| 性久久久久久久久| 国产一区视频网站| 99精品欧美一区二区三区小说 | 亚洲欧洲三级电影| 亚洲乱码日产精品bd| 亚洲电影一区二区三区| 日本成人在线电影网| 精品一区二区三区免费观看| 日韩精品一区二区三区在线播放 | 欧美一区永久视频免费观看| 欧美mv和日韩mv的网站| 国产精品视频线看| 亚洲不卡一区二区三区| 久久精品国产免费| av不卡免费电影| 在线不卡的av| 欧美经典一区二区| 樱花草国产18久久久久| 美女性感视频久久| 不卡高清视频专区| 欧美一区日本一区韩国一区| 国产亚洲一本大道中文在线| 亚洲欧美一区二区三区国产精品 | 亚洲你懂的在线视频| 视频在线观看一区| 国产成人av自拍| 欧美日韩夫妻久久| 国产精品蜜臀av| 婷婷开心久久网| thepron国产精品| 欧美一三区三区四区免费在线看 | 一区二区三区四区蜜桃 | 日韩欧美国产一区二区三区| 国产精品不卡在线观看| 日本欧美加勒比视频| 波多野结衣精品在线| 91精品国产欧美一区二区成人| 国产精品另类一区| 久久精品国产免费| 欧美视频日韩视频在线观看| 国产精品免费人成网站| 青草国产精品久久久久久| 91香蕉视频黄| 国产女主播在线一区二区| 日韩精品一二三四| 久久午夜电影网| 亚洲成人综合在线| 91免费国产在线观看| 久久综合国产精品| 午夜私人影院久久久久| 99国产精品一区| 久久色视频免费观看| 日韩成人一区二区| 欧美日韩在线播放三区四区| 国产精品二三区| 国产91丝袜在线18| 精品91自产拍在线观看一区| 爽好久久久欧美精品| 日本精品免费观看高清观看| 中文字幕日韩一区| 国产99精品视频| 久久众筹精品私拍模特| 日本不卡的三区四区五区| 欧美日韩免费观看一区二区三区| 1024成人网| 99视频国产精品| 国产精品丝袜一区| 成人性生交大片免费看在线播放| 精品三级在线看| 麻豆国产精品777777在线| 欧美丝袜丝交足nylons| 一区二区三区中文字幕电影 | 日韩欧美视频一区| 日韩av在线发布| 69久久夜色精品国产69蝌蚪网| 亚洲资源在线观看| 在线精品国精品国产尤物884a| 亚洲精品第1页| 在线视频综合导航| 亚洲伦理在线免费看| 91天堂素人约啪| 亚洲日本va午夜在线电影| 91在线高清观看| 亚洲欧美二区三区| 欧美主播一区二区三区| 亚洲一区在线免费观看| 欧美喷潮久久久xxxxx| 日日夜夜免费精品视频| 日韩丝袜美女视频| 韩日欧美一区二区三区| 国产人久久人人人人爽| 99久久精品情趣| 夜夜嗨av一区二区三区中文字幕| 久久久91精品国产一区二区精品 | 欧美性大战xxxxx久久久| 亚洲超丰满肉感bbw| 亚洲高清三级视频| 欧美日韩精品一区二区三区四区| 日日摸夜夜添夜夜添亚洲女人| 91精品国产91热久久久做人人 | 欧美军同video69gay| 日韩电影一区二区三区| 精品黑人一区二区三区久久 | 久久久青草青青国产亚洲免观| 国产成人午夜99999| 欧美精品一区二区三| 国产精品午夜春色av| 国产精品毛片大码女人| 一区二区三区不卡视频在线观看| 中文字幕一区在线观看| 日韩欧美的一区| av激情亚洲男人天堂| 欧美大片拔萝卜| 五月天婷婷综合| 日本视频免费一区| 青青青伊人色综合久久| 亚洲一区在线视频观看| 五月婷婷久久综合| 亚洲国产美女搞黄色| 国产午夜精品福利| 午夜精品久久久久久久蜜桃app| 亚洲成人免费电影| 天堂精品中文字幕在线| 亚洲高清免费视频| 欧美一卡二卡三卡| 欧美午夜不卡视频| 久久综合久久99| 国产精品久久久久久久久久免费看 | 亚洲成a天堂v人片| 顶级嫩模精品视频在线看| 欧美视频你懂的| 亚洲猫色日本管| 国产成人在线视频网址| 欧美男人的天堂一二区| 亚洲国产精品高清| 国产一区啦啦啦在线观看| 91麻豆精品国产| 国产精品传媒在线| 成人一区二区视频| 久久久99免费| 国产在线一区二区| 91精品国产综合久久精品性色| 夜夜夜精品看看| 在线免费观看日韩欧美| 亚洲色大成网站www久久九九| 国产乱码精品一区二区三| 精品欧美一区二区三区精品久久 | 日韩av中文字幕一区二区| 欧美日韩成人综合在线一区二区 | 日本道精品一区二区三区| 中文字幕欧美日本乱码一线二线| 老司机精品视频线观看86| 欧美成人一级视频| 国产精品一区二区在线播放| 久久免费午夜影院| 麻豆成人免费电影| 宅男噜噜噜66一区二区66| 丝袜诱惑制服诱惑色一区在线观看 | 欧美午夜电影在线播放| 欧美a一区二区| 精品成人a区在线观看| 国产 欧美在线| 亚洲永久免费av| 欧美午夜在线一二页| 欧美激情一区三区| 欧美日韩国产乱码电影| 久久精品99久久久| 国产精品国产a级| 欧美日韩一级视频| 国产精品一区二区x88av| 亚洲欧美怡红院| 欧美va亚洲va国产综合| 99热国产精品| 蜜臀av一区二区在线免费观看| 国产亚洲视频系列| 99麻豆久久久国产精品免费| 精品国产乱码91久久久久久网站|