Flight Recorder活用の実践

1,491 views

Published on

2013年12月19日に開催されたWebLogic Server勉強会@東京のLTセッションでGlassFishユーザー・グループ・ジャパン副会長の蓮沼 賢志氏が使用した「Flight Recorder活用の実践」資料です。

Published in: Technology, News & Politics
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,491
On SlideShare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
19
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Flight Recorder活用の実践

  1. 1. Using Java Flight Recorder For Developers HASUNUMA Kenji GlassFish Community khasunuma@java.net
  2. 2. • Java Flight Recorder is so useful tool for running softwares based on Java certainly. • But Java Flight Recorder is also powerful tool for development softwares based on Java efficiently.
  3. 3. Java Flight Recorder?
  4. 4. Project “HotRockit”
  5. 5. “HotRockit” is ... • Integration of two JVM; HotSpot VM and JRockit VM • “HotRockit” is HotSpot VM with JRockit tools
  6. 6. From HotSpot VM: • JIT Compiler • Heap management (Improvement itself) • Garbage Collectors From JRockit VM: • Deterministic GC • Some powerful tools jrcmd, JRockit Flight Recorder, JRockit Mission Control
  7. 7. HotSpot v23 (JDK7u4~u25) • Developer preview of “HotRockit” • jcmd (ex. jrcmd) • JRockit compatible JMX Agent • Preparing for Flight Recorder
  8. 8. HotSpot v24 (JDK7u40~) • Public preview of “HotRockit” • Java Flight Recorder • Java Mission Control • Some tools (e.g. Memory leak detector) is not implemented
  9. 9. HotSpot v25 (JDK8 GA) • Complete “HotRockit” (maybe...) • Almost all tools readiness • PermGen removed (exactly!) • Deterministic GC (maybe...)
  10. 10. [FYI] JDK Updates until JDK7 Update 25, • • odd number - security updates even number - feature updates since JDK7 Update 40, • • • +20 - feature updates (e.g. JDK7u40) +5 - security updates (e.g. JDK7u45) other - unplanned updates
  11. 11. Java Flight Recorder (ex. JRockit Flight Recorder)
  12. 12. Java Flight Recorder is ... • JDK7 Update 40 or later • Small impact for running Java VM • Using same as JRockit Flight Recorder • Integrated with Java Mission Control • Free for trial or development
  13. 13. Usage: • Set following options: -XX:+UnlockCommercialFeatures -XX:+FlightRecorder • control from jcmd (JFR.*) or Java Mission Control
  14. 14. Using Java Flight Recorder For Developers HASUNUMA Kenji GlassFish Community khasunuma@java.net http://www.coppermine.jp/docs/programming/

×