Optimizing Javaã¨ããJavaããã©ã¼ãã³ã¹ç³»ã®æ¸ç±ãé¢ç½ãã
æ¥æ¿ãªå·ãè¾¼ã¿ã®ããã§ãå¯ãï¼ãã¨ããã¤ã¶ãããTLã«æ£è¦ããããã®é ã§ãããçããã風éªãªã©å¬ãã¦ããã£ããããªãã§ããããã
å¦å¿ãªãã«å¯ãã¨ããè¨èã«åå¿ãã¦ãã¾ããããªããªã¨ã³ã¸ãã¢ã® [twitter:@cero_t] ã§ãã
ãã®ã¨ã³ããªã¼ã¯ Java Advent Calendar 2016 ã®8æ¥ç®ã§ãã
æ¨æ¥ã¯ [twitter:@haruo31] ããã®ãJava Stream APIでハマったことãã§ã
ææ¥ã¯ [twitter:@deaf_tadashi] ããã®ãマイクロベンチマークツール、JMHについてãã§ããã
ä»æ¥ã®ã¨ã³ããªã¼ã§ã¯ãJavaã®ããã©ã¼ãã³ã¹ç³»æ¸ç±ãç´¹ä»ãããã¨æãã¾ãã
Optimizing Java - O’Reilly Media
URLãè¦ãã«ã¤ãããã®ãªã©ã¤ãªã¼æ§ã®ãµã¤ãã§ããæ¡å¼µåãç±ç·æ£ãã .do ãªã®ã§ããããæ¥æ¬ã®SIerãStrutsã使ããã¨ãã©ããã¦å¦å®ã§ãã¾ããããã
ãããä»æ¥ã¯ãããªè©±é¡ã§ã¯ããã¾ããã
ç´¹ä»ãããã®ã¯ä¸ã®ãªã³ã¯å ã®æ¬ããOptimizing Java - Practical Techniques for Improved Performance Tuningãã§ããååã®éããJavaã®ããã©ã¼ãã³ã¹ã«é¢ããæ¸ç±ã§ããã¾ã Early Releaseã®æ®µéã§ãå ¨ä½ã®1/3ã»ã©ããæ¸ããã¦ãã¾ããããç¾ç¶ã®çãå ¥æããã®ã§ç´¹ä»ãããã¨æãã¾ãã
ããã¾ã§ã§ããããããªããä¼¼ããããªæ¬ããªãã£ãã£ããã¨æã£ãæ¹ãããã£ãããããç¥ãã¾ãããããããªã©ã¤ãªã¼ç¤¾ããã¯2015å¹´ã«ãJavaããã©ã¼ãã³ã¹ãã¨ããæ¸ç±ãåºçããã¦ãã¾ãã
ãã¡ãã®æ¥æ¬èªçã§ã¯ãç§ãç£è¨³è
ã¾ããããæ¸ããã¦é ããJava Day Tokyoã§å¯ºç°ä½³å¤®ããã¨å
±ã«ãµã¤ã³ä¼ãè¡ãã¾ããã
å½æã¯ãã£ã¨ããã®å¯ºç°ããã®æ¨ªã«ãã¦æ¬ã«è½æ¸ããã¦ã人ã誰ãªãã ãããã¨æããã¦ããããç¥ãã¾ããããç§ã誰ã ã¨æã£ã¦ããã§ããããããããã ãï¼
ãã®2åã«ã¤ãã¦ãæ¯è¼ããªããç´¹ä»ãã¾ãããã
ç®æ¬¡
ãJavaããã©ã¼ãã³ã¹ãã®ç®æ¬¡ã¯ã次ã®éãã§ãã
1ç« | ã¤ã³ãããã¯ã·ã§ã³ |
2ç« | ããã©ã¼ãã³ã¹ãã¹ãã®ã¢ããã¼ã |
3ç« | Javaããã©ã¼ãã³ã¹ã®ãã¼ã«ããã¯ã¹ |
4ç« | JITã³ã³ãã¤ã©ã®ããã¿ |
5ç« | ã¬ãã¼ã¸ã³ã¬ã¯ã·ã§ã³ã®åºç¤ |
6ç« | ã¬ãã¼ã¸ã³ã¬ã¯ã·ã§ã³ã®ã¢ã«ã´ãªãºã |
7ç« | ãã¼ãã®ãã¹ããã©ã¯ãã£ã¹ |
8ç« | ãã¤ãã£ãã¡ã¢ãªã®ãã¹ããã©ã¯ãã£ã¹ |
9ç« | ã¹ã¬ããã¨åæã®ããã©ã¼ãã³ã¹ |
10ç« | Java EEã®ããã©ã¼ãã³ã¹ |
11ç« | ãã¼ã¿ãã¼ã¹ã®ãã¹ããã©ã¯ãã£ã¹ |
12ç« | Java SEã®APIã®ããã©ã¼ãã³ã¹ |
Javaã®ã¡ã¢ãªãGCãã¹ã¬ããã«é¢ããç´¹ä»ãããSE / EEããã¼ã¿ãã¼ã¹ã®ããã©ã¼ãã³ã¹ã«åºãã話ããã¦ãã¾ãã
ä¸æ¹ããOptimizing Javaãã®ç®æ¬¡ã¯æ¬¡ã®éãã§ãã
Chapter 1 | Optimization and Performance Defined |
Chapter 2 | Overview of the JVM |
Chapter 3 | Hardware and Operating Systems |
Chapter 4 | Performance Testing |
Chapter 5 | Measurement and Bottom-Up Performance |
Chapter 6 | Monitoring and Analysis |
Chapter 7 | Hotspot GC Deep Dive |
Chapter 8 | Garbage Collection Monitoring and Tuning |
Chapter 9 | Hotspot JIT Compilation |
Chapter 10 | Java Language Performance Techniques |
Chapter 11 | Profiling |
Chapter 12 | Concurrent Performance Techniques |
Chapter 13 | The Future |
ãããã»ã¨ãã©ä¸ç·ããï¼
ãOptimizing Javaãã«ã¯ããJavaããã©ã¼ãã³ã¹ãã§ã¯è§¦ãããã¦ããSEãEEã®è©±ãªã©ã¯ãªãããããããå·®åã«ãªãããã«ãè¦ãã¾ãããã æ£ç´ããJavaããã©ã¼ãã³ã¹ãã®10ç« ä»¥éã¯ã¡ãã£ã¨èå£ãªæãã§ããã®ã§ããããé£ã°ãã°ã»ã¨ãã©åãå 容ãç¶²ç¾ ãã¦ããã¨è¨ãã¾ãã
ã§ã¯ãä½ãéããã§ããããã
Javaããã©ã¼ãã³ã¹ vs Optimizing Java
åãè¦ãéãã§ã¯ãJavaããã©ã¼ãã³ã¹ãã¯æç§æ¸ã«è¿ãå
容ããOptimizing Javaãã¯ããèªã¿ç©å¯ãã®å
容ã«ãªã£ã¦ãã¾ãã
ãOptimizing Javaãã¯ãç¾å¨å·çããã¦ããChapter 5ã¾ã§ããèªãã¦ãã¾ãããããJavaããã©ã¼ãã³ã¹ãã«ã¯æ¸ããã¦ããªãã£ãOSãJVMå¨ãã®ã¬ã¤ã¤ã¼ã®è©±ãããã¹ãæ¦ç¥ã®è©±ãªã©ãå°ãç®ç·ãéã£ãå
容ãæ¸ãã¦ãã¾ããã
ãã¨ãã°ãJavaã®ã¯ã©ã¹ãã¡ã¤ã«ãã0xCAFEBABEãããå§ã¾ã£ã¦ãããã¨ã¯ãJavaã«è©³ããæ¹ãªãæ¢ã«ãåããã¨æãã¾ãããã ããã®å
ã¯ã©ããªã£ã¦ããã®ãã
æ¸ç±ã§ã¯æ¬¡ã®ããã«ç´¹ä»ããã¦ãã¾ãã
- Magic Number (0xCAFEBABE)
- Version of Class File Format
- Constant Pool
- Access Flags
- This Class Name
- Super Class Name
- Interfaces
- Fields
- Methods
- Attributes
ãã®å
é ãåã£ã¦
M V C A T S I F M Aã
èªååãããã¦
My Very Cute Animal Turn Savage In Full Moon Areas
ãªãã¦ç´¹ä»ããã¦ãã¾ãã
ãåã®ã¨ã£ã¦ãããããç«ã¯ãæºæã®ã¨ãªã¢ã§å¶æ´ã«ãªãã
ã»ã»ã»è¦ãããããã§ããããããï¼
ãããªãããµãããæ¬ã ãªã¨æã£ãããç¥ãã¾ãããããã¡ããæè¡çãªé¢ããã¡ãã¨ç´¹ä»ããã¦ãã¾ãã
ããã¾ã§ä¸ã«æ¸ãããããªã¦ã£ããï¼ï¼ï¼ãæã¿ãªãããJavaã®é åã ãã§ãªããå¿
è¦ã«å¿ãã¦ä½ã¬ã¤ã¤ã¼ã«ã触ãã¦ç´¹ä»ããæ¬ã¨ãªã£ã¦ããããã§ãããã®ããããJavaããã©ã¼ãã³ã¹ããèªãã æ¹ã§ã楽ãããæ¬ã«ãªãã®ã§ã¯ãªããã¨æãã¾ãã
ã§ããã¤åºãã®ï¼ æ¥æ¬èªçã¯ï¼
ãã®æ¬ã¯2017å¹´3æã«åºçäºå®ã¨ãªã£ã¦ãã¾ãã
ã¾ããçããæ°ã«ãªãæ¥æ¬èªçã§ãããæ®å¿µãªããã¾ã 翻訳ããããã¨ã¯æ±ºã¾ã£ã¦ããªãããã§ãã
ãã åèã®äººæ°ãé«ãã£ããããã®å¾ã«å
¬éããã6ç« ä»¥éã®å
容ããJavaããã©ã¼ãã³ã¹ãã¨ã¯ã¾ãéã£ãåãå£ã§ãã楽ãããã®ã§ããã°ã翻訳ãããå¯è½æ§ãååã«ããããããªãããªã¨æã£ã¦ãã¾ãã
ãããªããã§ãæ¥æ¬èªçãåºããã¨ãç¥ããªããããã®ã¨ã³ããªã¼ãæ¸ãã¾ããã
Stay tuned, see you!