INDEX
[Java]JavaVirtualMachine(Java VM ¤Ë¤Ä¤¤¤Æ)
1¡¡ NI-Lab.¡¡ 2004/07/27(Tue) 22:15
[Java]JavaVirtualMachine(Java VM ¤Ë¤Ä¤¤¤Æ)


2¡¡ NI-Lab.¡¡ 2004/07/27(Tue) 22:15
http://www.atmarkit.co.jp/fjava/rensai3/javavm01/javavm01_1.html
http://www.atmarkit.co.jp/fjava/rensai3/javavm01/javavm01_2.html
¡÷IT¡§¥Á¥å¡¼¥Ë¥ó¥°¤Î¤¿¤á¤ÎJava VM¹ÖºÂ¡ÊÁ°ÊÔ¡Ë
Hotspot VM¤Î´ðËܹ½Â¤¤òÍý²ò¤¹¤ë

http://www.atmarkit.co.jp/fjava/rensai3/javavm02/javavm02_1.html
http://www.atmarkit.co.jp/fjava/rensai3/javavm02/javavm02_2.html
¡÷IT¡§¥Á¥å¡¼¥Ë¥ó¥°¤Î¤¿¤á¤ÎJava VM¹ÖºÂ¡Ê¸åÊÔ¡Ë
¥¬¥Ù¡¼¥¸¥³¥ì¥¯¥¿¤Î»ÅÁȤߤòÍý²ò¤¹¤ë

>NewÀ¤ÂåÎΰè¡ÊEdenÎΰ衢FromÎΰè¡Î=ToÎΰè¡Ï¡Ë¡¢OldÀ¤ÂåÎΰè¤Î³Æ¥µ¥¤¥º¤ÏJVM¤Î¥ª¥×¥·¥ç¥ó¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£
>¥Ò¡¼¥×¥µ¥¤¥º¥ª¥×¥·¥ç¥ó ¥µ¥¤¥º
>-Xms ½é´ü¥Ò¡¼¥×¥µ¥¤¥º¡ÊÁ´ÂΡË
>-Xmx ºÇÂç¥Ò¡¼¥×¥µ¥¤¥º¡ÊÁ´ÂΡË
>-Xmn(-XX:NewSize) NewÀ¤ÂåÎΰ襵¥¤¥º
>-XX:MaxNewSize NewÀ¤ÂåÎΰ襵¥¤¥º
>-XX:NewRatio NewÀ¤ÂåÎΰè¤ÈOldÀ¤ÂåÎΰè¤ÎÈæΨ¡ÊOldÀ¤ÂåÎΰ衿NewÀ¤ÂåÎΰè¡Ë
>-XX:SurvivorRatio NewÀ¤ÂåÎΰè¤ÈSurvivorÎΰè¤ÎÈæΨ¡ÊEdenÎΰ衿FromÎΰè¡Ë
>-XX:TargetSurvivorRatio NewÀ¤ÂåÎΰèGC¸å¤ÎFromÎΰèÆ⥪¥Ö¥¸¥§¥¯¥È¤Î³ä¹çÌÜɸ

>¼ç¤ÊGC´Æ»ë¥ª¥×¥·¥ç¥ó ½ÐÎϾðÊó
>-verbose:gc(-verbosegc) GC¾ðÊó¡Ê´Ê°×¡Ë
>-Xloggc:filename GC¾ðÊó¡Ê¥Õ¥¡¥¤¥ë¤Ø½ÐÎÏ¡Ë
>-XX:+PrintGCDetails GC¾ðÊó¡Ê¾ÜºÙ¡Ë
>-Xverbosegc GC¾ðÊó¡Ê¾ÜºÙ¡Ë¤ò½ÐÎÏ¡ÊHP-UX JVM¤Î¤ß¡Ë
>-XX:+PrintTenuringDistribution ¥ª¥Ö¥¸¥§¥¯¥È¤ÎǯÎð¾ðÊó
>-XX:+TraceGen0Time NewÀ¤ÂåÎΰè¤ÎÎßÀÑGC»þ´Ö¡¢GC²ó¿ô¡¢Ê¿¶ÑGC»þ´Ö
>-XX:+TraceGen1Time OldÀ¤ÂåÎΰè¤ÎÎßÀÑGC»þ´Ö¡¢GC²ó¿ô¡¢Ê¿¶ÑGC»þ´Ö
>-XX:+PrintGCTimeStamps GC¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×
>-XX:+PrintHeapAtGC GCÁ°¸å¤Î¾ÜºÙ¤Ê¥Ò¡¼¥×¾ðÊó

>¥Ñ¥é¥ì¥ëGC¡ÊJVM¥ª¥×¥·¥ç¥ó: -XX:+UseParallelGC¡¢-XX:+UseParNewGC¡Ë

Ê£¿ô¤Î¥¹¥ì¥Ã¥É¤Ë¤è¤ë¥¬¥Ù¥³¥ì¡£

>¥³¥ó¥«¥ì¥ó¥ÈGC¡ÊJVM¥ª¥×¥·¥ç¥ó¡§-XX:+UseConcMarkSweepGC¡Ë

¥¢¥×¥ê¤Î¥¹¥ì¥Ã¥É¤ò»ß¤á¤Ê¤¤¤Ç¡¢GC¤ò¹Ô¤¦¡£

3¡¡ NI-Lab/¡¡ 2004/07/27(Tue) 22:15
http://h50146.www5.hp.com/products/software/development/java/tips/tune/
ÆüËÜHP - J2SE for HP-UX Tips - HP-UX Java¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¡¦¥Á¥å¡¼¥Ë¥ó¥° ¥¬¥¤¥É

http://h50146.www5.hp.com/products/software/development/java/tips/tune/p07.html
2-4-1 ¥¬¥Ù¡¼¥¸¡¦¥³¥ì¥¯¥·¥ç¥ó¤ÎʬÀÏ -Xverbosegc

>¡ÈFull GC required - reason : call to System.gc() or Runtime.gc()¡É
>¤³¤Î¥Ç¡¼¥¿¤Ë¾å¤Î¤è¤¦¤Êµ­½Ò¤¬¤¢¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢¥æ¡¼¥¶¡¼¤¢¤ë¤¤¤Ï¥é¥¤¥Ö¥é¥ê¤ÎJava ¥³¡¼¥É¤¬ÌÀ¼¨Åª¤Ë¥¬¥Ù¡¼¥¸¡¦¥³¥ì¥¯¥·¥ç¥ó¤ò¸Æ¤Ó½Ð¤·¤Æ¤¤¤ë¤³¤È¤¬¤ï¤«¤ê¤Þ¤¹¡£¤³¤ì¤Ïɬ¤ºÈò¤±¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£¥³¡¼¥É¤«¤éSystem.gc() ¤ä Runtime.gc() ¤Î¸Æ¤Ó½Ð¤·¤ò¼è¤ê½ü¤¯¤«¡¢JVM ¥ª¥×¥·¥ç¥ó¤Ë¡É-XX:+DisableExplicitGC¡É ¤ò»ØÄꤹ¤ë¤³¤È¤Ë¤è¤ê¤³¤ÎÌäÂê¤ò²ò·è¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

4¡¡ NI-Lab.¡¡ 2004/07/27(Tue) 22:15
http://www1.jpn.hp.com/products/software/development/java/tool/jtune/
ÆüËÜHP - J2SE for HP-UX - HPjtune

JVM ¥¬¥Ù¡¼¥¸¥³¥ì¥¯¥·¥ç¥ó²òÀϥġ¼¥ë¡£

5¡¡ NI-Lab.¡¡ 2004/07/27(Tue) 22:16
http://www.tagtraum.com/gcviewer.html
GCViewer

>GCViewer is a tool to visualize the data produced by the Java VM options -verbose:gc and -Xloggc:<file>.

6¡¡ NI-Lab.¡¡ 2004/07/28(Wed) 21:15
http://www-6.ibm.com/jp/developerworks/java/040604/j_j-perf05214.html
dW : Java tecnology : ¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ÎÌÜ: ¥¬¡¼¥Ù¥¸Ã̵Á

-verbose:gc ¤Ë¤è¤ëGC¥í¥°¤Î¥ì¥³¡¼¥É¥Õ¥©¡¼¥Þ¥Ã¥È¤ÎÀâÌÀ¤Ê¤É¡£

7¡¡ NI-Lab.¡¡ 2004/07/28(Wed) 21:15
http://www-6.ibm.com/jp/developerworks/java/040716/j_j-perf06304.html
dW : Java technology : ¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ÎÌÜ: ¥¬¡¼¥Ù¥¸¡¦¥³¥ì¥¯¥·¥ç¥ó¤òÄ´À°¤¹¤ë

"stop-the-world" ¤È¤¤¤¦¤é¤·¤¤¡£
GCÃæ¤Ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥¹¥ì¥Ã¥É¤¬Ää»ß¤¹¤ë¤³¤È¤ò¡£

8¡¡ NI-Lab.¡¡ 2004/10/14(Thu) 22:24
http://sdc.sun.co.jp/java/private/techtips/2003/tt0819.html
²ÄÊѤʥ³¥ó¥Æ¥ó¥Ä¤ò¤â¤Ä¥á¥Ã¥»¡¼¥¸¤Î¥Õ¥©¡¼¥Þ¥Ã¥È
¥¯¥é¥¹¤Î¥¢¥ó¥í¡¼¥É¤È¥ê¥í¡¼¥É

http://java.sun.com/developer/JDCTechTips/2003/tt0819.html
Formatting Messages With Variable Content and Unloading and Reloading Classes

9¡¡ NI-Lab.¡¡ 2004/11/30(Tue) 19:43
http://java.sun.com/performance/jvmstat/
jvmstat

JVM´Æ»ë¥Ä¡¼¥ëÎà¡£

10¡¡ NI-Lab.¡¡ 2005/03/07(Mon) 18:26
GC¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ÈJVM¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ¤Î¥ì¥Ý¡¼¥È¡£

http://java.sun.com/docs/hotspot/
Performance Documentation for the Java HotSpot VM

http://java.sun.com/docs/hotspot/gc1.4.2/index.html
Tuning Garbage Collection with the 1.4.2 Java Virtual Machine

http://java.sun.com/docs/hotspot/gc/
Tuning Garbage Collection with the 1.3.1 Java Virtual Machine
11¡¡ NI-Lab.¡¡ 2005/03/07(Mon) 18:26
java -? ¤ä java -X ¤Ç¤Ï½Ð¤Æ¤³¤Ê¤¤¤è¤¦¤ÊJVM¤Î¥ª¥×¥·¥ç¥ó¡£

http://java.sun.com/docs/hotspot/VMOptions.html
Java HotSpot VM Options

-XX:MinFreeHeapRatio
-XX:MaxHeapFreeRatio
-XX:NewRatio
-XX:NewSize
-XX:MaxNewSize
-XX:SurvivorRatio
12¡¡ NI-Lab.¡¡ 2005/03/07(Mon) 18:27
http://java.sun.com/j2se/1.4/ja/docs/ja/guide/vm/index.html
Java(TM) ²¾ÁÛ¥Þ¥·¥ó

http://edocs.beasys.co.jp/e-docs/wls/docs81/perform/JVMTuning.html
WebLogic Server ¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹ ¥Á¥å¡¼¥Ë¥ó¥° ¥¬¥¤¥É
Java ²¾ÁÛ¥Þ¥·¥ó (JVM) ¤Î¥Á¥å¡¼¥Ë¥ó¥°

http://www.atmarkit.co.jp/fjava/rensai/j2eeprfm04/j2eeprfm04_2.html
¡÷IT - J2EE¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¥Á¥å¡¼¥Ë¥ó¥° Âè4²ó
Web¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¹â®²½¼Â¸³

http://www.atmarkit.co.jp/fjava/rensai2/webopt06/webopt06.html
¡÷IT - »öÎã¤Ë³Ø¤ÖWeb¥·¥¹¥Æ¥à³«È¯¤Î¥ï¥ó¥Ý¥¤¥ó¥È (6)
AP¥µ¡¼¥Ð¤«¤é¤Î±þÅú¤¬¤Ê¤¯¤Ê¤Ã¤¿¡¢¤Ê¤¼¡© ¡½GC¤ò¥Á¥å¡¼¥Ë¥ó¥°¤·¤è¤¦¡½

13¡¡ NI-Lab.¡¡ 2005/03/11(Fri) 22:17
http://www.alphaworks.ibm.com/tech/gcdiag
alphaWorks : Diagnostic Tool for Java Garbage Collector

GC¾õ¶·²òÀϥġ¼¥ë¡£