ããã§ãåCã¯ã¡ã³ãã¼ãæ¤ç´¢ãããã¯ã©ã¹ã¾ãã¯ã¤ã³ã¿ãã§ã¼ã¹ã§ãã«ãã¯ã¢ããã»ã¡ã½ããå ã§refcã¨ããååã®ãã©ã¡ã¼ã¿ã¨ãã¦è¨è¿°ããã¦ãã¾ããã¡ã½ããåMTã¯ãæ»ãåTã¨å¼æ°åã·ã¼ã±ã³ã¹A*ããæ§æããã¾ããã³ã³ã¹ãã©ã¯ã¿ãå¼æ°åã·ã¼ã±ã³ã¹A*ãæã¡ãåCã®æ°ããä½æããããªãã¸ã§ã¯ããè¿ãã¨è¦ãªããã¾ããMTã¨ãã£ã¼ã«ãã®åFTã¯ã©ã¡ãããtypeã¨ããååã®ãã©ã¡ã¼ã¿ã¨ãã¦ããã¥ã¡ã³ãåããã¦ãã¾ããä»®ãã©ã¡ã¼ã¿thisã¯Cåã®èªå·±åç §ã表ãã¦ãã¾ããããã¯ãåå¨ããå ´åã¯å¸¸ã«ã¡ã½ããã»ãã³ãã«å¼åºãã®å é ã®å¼æ°ã«ãªãã¾ãã(ä¸é¨ã®protectedã¡ã³ãã¼ã§ã¯ãthisã®åãã«ãã¯ã¢ããã»ã¯ã©ã¹ã«å¶éãããå ´åãããã¾ããä¸è¨ãåç §ãã¦ãã ããã)ååargã¯ãã¡ã½ããã»ãã³ãã«ã®ã»ãã®ãã¹ã¦ã®å¼æ°ã表ãã¦ãã¾ããCore Reflection APIã®ã³ã¼ãä¾ã«å«ã¾ããååthi
Java7ããJVMä¸ã§åä½ããåçè¨èªã®ããã«Invoke Dynamicã¨ããä»çµã¿ãå°å ¥ãããã Invoke Dynamicã®å°å ¥åã¾ã§ã¯ãåçè¨èªã®ç¹æ§ããéçã«åãå¤æã§ããªãå®è¡å¦çã«ããã¦ã¯ãåè¨èªæ¯ã«å¦çç³»ãå¿ è¦ã§ããã®å¦çç³»ã«å®è¡å¦çãå§è²ããã¦ããããããInvoke Dynamicã®å°å ¥ã«ããJVMå´ã§é¢æ°ãã¤ã³ã¿ãåãæ¿ãã¦å¦çãè¡ããããã«ãªããåè¨èªæ¯ã®å¦çç³»ã«å¦çãå§è²ããã¨ãJVMã§å¦çãå®çµããããã«ãªã£ãããã®ãããJITã«ããæé©åã®æ©æµããã«ã«åãããããã«ãªããJVMä¸ã§åä½ããåçè¨èªã®ããã©ã¼ãã³ã¹ãåä¸ããã¿ããã ã§ããããªInvoke Dynamicã ãã©ãåçè¨èªä»¥å¤ã«Javaèªä½ã«ãæ©æµãããããªãã¬ã¯ã·ã§ã³ã使ã£ã¦åçã«å¦çãå®è¡ãã¦ããç®æã¯ããªãã¬ã¯ã·ã§ã³ã§ã¯ãªãMethodHandleã使ç¨ãã¦Invoke Dynamicå½
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}