The 1th Chapter Course Introduction (Java Second Kill course teacher to build)
This chapter introduces the possible problems of the production environment and common performance monitoring tools, and what the course can learn, how to arrange the contents of the course, so that everyone has a full picture of the curriculum, so as to better study the course.
1-1 Why study this course?
The 2nd chapter is based on the JDK Command line tool monitoring
This chapter takes you through the use of the command line monitoring tools of the JDK, including JPS, Jinfo, Jstat, Jmap, Jstack, and how to position the memory overflow with the mat combat, how to locate the dead loop and deadlock.
2-1 parameter types for JVM
2-2 viewing JVM runtime parameters
2-3 Jstat View JVM Statistics
2-4 Demo Memory Overflow
2-5 exporting a memory image file
2-6 Mat Analysis Memory Overflow
2-7 Jstack and the state of the thread
2-8 Jstack real die-dead cycle and deadlock
The 3rd chapter is based on JVISUALVM visual monitoring
This chapter takes you through the use of a visual monitoring tool, JVISUALVM, to learn how to use it to monitor local and remote Java processes, including monitoring memory, threading, method execution time, and more.
3-1 monitoring local Java processes
3-2 monitoring the remote Java process
4th chapter monitoring and debugging based on Btrace
This chapter takes you to learn how to install Btrace, how to write btrace scripts to monitor and debug the code in a production environment, such as obtaining parameters, return values, exceptions, line numbers, and so on for a method in a production environment.
4-1 Btrace Getting Started
4-2 Intercept constructor, same name function
4-3 intercept return value, exception, line number
4-4 block complex parameters, bad environment variables, regular match interception
4-5 precautions
5th chapter Tomcat Performance Monitoring and tuning
This chapter takes you through how to remotely debug tomcat on-Premises and monitor the memory, threads, and so on of the Tomcat server, introducing two monitoring tools---Tomcat's own manager and open source Psi-probe, and then explains the usual tomcat tuning methods.
5-1 Tomcat Remote Debug
5-2 Tomcat-manager Monitoring
5-3 psi-probe Monitoring
5-4 Tomcat Optimization
6th chapter Nginx Performance Monitoring and tuning
This chapter takes you to learn how to install Nginx, and monitor Nginx connection information and request information, will introduce two command line tools Ngx_http_stub_status and Ngxtop, there is a visual tool NGINX-RRD, Then we will explain the usual nginx tuning methods.
6-1 Nginx Installation
6-2 Ngx_http_stub_status Monitoring Connection information
6-3 ngxtop Monitoring Request Information
6-4 NGINX-RRD Graphical Monitoring
6-5 Nginx Optimization
7th. JVM Layer GC Tuning
This chapter takes you to learn the memory structure of the JVM, common garbage collection algorithm and garbage collector, different garbage collector log structure, and then introduced two visual log analysis tools, through the analysis of the log to get GC performance indicators and the reasons for GC, and finally with everyone in combat GC garbage collection tuning.
7-1 the memory structure of the JVM
7-2 Common garbage collection algorithms
7-3 Garbage Collector-1
7-4 Garbage Collector-2
7-5 GC Log format detailed
7-6 Visualization Tools Analyze GC Logs
7-7 PARALLELGC Tuning
7-8 G1 Tuning
7-9 Summary of this chapter
8th. JVM byte Code and Java Code Layer tuning
This chapter takes you through the bytecode instruction of the JVM, explaining the underlying principles of some common problems from the bytecode level (interview can answer on the words, absolutely plus points), such as: i++ and ++i which kind of high efficiency? Why is it inefficient to do string + stitching in the loop body? Then we will focus on the string, including the change of the string constant pool, string literal constants, String.intern, etc., and finally share the teacher in the development of the common Java code optimization accumulated more than 20 ...
8-1 JVM bytecode Directive-1
8-2 JVM bytecode Directive-2
8-3 i++ and ++i
8-4 string + stitching
8-5 try-finally byte code
8-6 String Constant Variable
8-7 common code optimization methods-1
8-8 common code optimization methods-2
The 9th chapter of the course summary
This chapter takes you to review the difficult points of this course, but also hope that we can manually comb out the knowledge of the course of the brain map, in the future to build knowledge system and in-depth study and solve more difficult problems.
9-1 Course Summary
: Baidu Network Disk download
Performance monitoring and tuning in the Java production environment