调优
Java · 6 notes
- Java Production Issue Troubleshootinghistorical
Java production troubleshooting can start by finding resource-heavy processes with tools such as top, then locating related threads or code. These notes record diagnostic steps.
- 7.6 Tuning Approachhistorical
Tuning Approach: Reduce the number of Full GCs / reduce Full GC duration / reduce memory usage.
- 7.19 OOM Exampleshistorical
GC cannot reclaim strongly reachable objects, which may continue consuming memory. These notes illustrate out-of-memory failures across memory areas.
- 7.20 Performance Analysis Toolshistorical
JVM performance troubleshooting begins with process information and suitable diagnostic tools. These notes organize tools by their commands and output.
- 7.21 JVM Parameter Tuninghistorical
JVM heap size can be configured with options such as -Xms and -Xmx. These notes continue with generation ratios and their relationship to GC costs.
- 7.22 GC Log Analysishistorical
GC logs expose young- and old-generation collections. These notes use Parallel GC logs to explain output fields and analysis tools.