ä»åãååã®è¨äºã«ã¤ã¥ããJava8ã«ããå¤æ´ç¹ã§æªã ãã¾ãç´¹ä»ããã¦ããªããã¤ã³ããè¨äºã«ãããã¨æãã ä»åã¯Java8ã®HotSpotVMã®è©±ãJava8ã§ã¯JEP122ãåãè¾¼ã¾ããVMã®ã¡ã¢ãªã¢ãã«ãå¤æ´ããããJEP122ã®ã¿ã¤ãã«ãRemove the Permanent Generationãããæ³åã§ããã¨ãããJava8ã®HotSpotVMããã¯å¾æ¥ã®Permanenté åãç¡ããªã£ãã ãªãããããã£ãå¤æ´ãè¡ãããã®ã ãããï¼ã¾ããå ã Permanenté åã«æ ¼ç´ããã¦ããæ å ±ã¯ä½å¦ã«ãã£ã¦ãã¾ã£ãã®ãï¼JVMä»å±ã®ãã¼ã«ã«ã©ããã£ãå½±é¿ãããã®ãï¼ ä»åã®è¨äºã§ã¯ãã®ç¹ãã¾ã¨ãã¦ãããã¨æãã ãªããHotSpotVMã®ã¡ã¢ãªã¢ãã«ã«ã¤ãã¦è©³ãããªãæ¹ã¯ãå ã«ãã¡ãã®é çªï¼ãè£è¶³ â HotSpotVMã®ã¡ã¢ãªæ§é æ¦èª¬ï¼ãèªãã§ããã ãã¨ã¹ã ã¼ãºã«èªã¿é²ããããã
JavaVMã®ç¶æ³ãç°¡æåºåããjstat Javaã«ã¯ãã°ã©ãã£ã«ã«ãªãã©ããåºåããç°å¢ããªã½ã¼ã¹ããªãå ´åãæ³å®ãããã¼ã«ãç¨æããã¦ãã¾ããjstatï¼Java 1.4以åã¯jvmstatï¼ã¨å¼ã°ãããã¼ã«ã§ãã使ãæ¹ã¯ç°¡åã§ãã jstat -åºåãªãã·ã§ã³ï¼-h[ãããã¼ãåºåããè¡éé]ï¼ [ããã»ã¹çªå·] [åºåééï¼ããªç§ï¼] [注] åºåãªãã·ã§ã³ã«ã¤ãã¦ã¯[Java ä»®æ³ãã·ã³çµ±è¨ãã¼ã¿ç£è¦ãã¼ã«]ãåèã«ãã¦ãã ããã ä¾ãã°ã C:\>jstat -gcutil -h5 6684 1000 ãå ¥åããã¨ã次ã®ããã«åºåããã¾ãã åºåãªãã·ã§ã³: gcutilã§æå®ããããã©ã¼ãããã§ããããã¼ã5è¡ééã1ç§ééã§åºåãã¾ãã S0 S1 E O P YGC YGCT FGC FGCT GCT 87.58 0.00 74.95 69.37 99.47 302 0
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}