Upload
bleporini
View
488
Download
0
Embed Size (px)
DESCRIPTION
Slides du TIA http://cfp.devoxx.fr/devoxxfr2014/talk/MOO-402/Tout%20ce%20que%20vous%20avez%20toujours%20voulu%20savoir%20de%20la%20JVM%20sans%20jamais%20oser%20lui%20demander%20en%20ligne%20de%20commande présenté à DevoxxFr 2014.
Citation preview
@blep#DevoxxFr-jvmtools
Tout ce que vous avez toujours voulu savoir de la JVM sans jamais oser lui demander en ligne de commande
@blepBrice LEPORINI
jeudi 24 avril 14
@blep#DevoxxFr-jvmtools
Outils graphiques
jeudi 24 avril 14
@blep#DevoxxFr-jvmtools
Outils graphiques
jeudi 24 avril 14
@blep#DevoxxFr-jvmtools
Outils graphiques
jeudi 24 avril 14
@blep#DevoxxFr-jvmtools
Outils graphiques
jeudi 24 avril 14
@blep#DevoxxFr-jvmtools
Outils graphiques
jeudi 24 avril 14
@blep#DevoxxFr-jvmtools
Pourquoi en ligne de commande?
•Machine distante:
•Pas d’interface graphique (serveur)
•Accès aisé
•Peu (ou pas?) d’impact sur la JVM
•Scriptable
jeudi 24 avril 14
@blep#DevoxxFr-jvmtools
Identification et configuration des JVM
•jps: Lister les JVM
•jinfo: Propriétés système et arguments de lancement pour
une JVM
jeudi 24 avril 14
@blep#DevoxxFr-jvmtools
Comportement JVM• jstack: Thread dump
• jmap: Information mémoire:
• répartition
• heap dump
• jstat: Observation JVM
• GC
• JIT
• En continu
•Configuration GC Logs:-verbose:gc
-Xloggc:
-XX:+PrintGCDetails
-XX:+PrintGCDateStamps
-XX:+PrintTenuringDistribution
jeudi 24 avril 14
@blep#DevoxxFr-jvmtools
Debugger en ligne de commande!
jeudi 24 avril 14
@blep#DevoxxFr-jvmtools
Références
•http://docs.oracle.com/javase/7/docs/technotes/tools/
•Memory Analyzer Tool http://www.eclipse.org/mat/
•https://github.com/chewiebug/GCViewer
jeudi 24 avril 14