Introduction
Welcome to high-performing Java applications
()
So your Java application is slow
()
Troubleshooting latency vs. throughput
()
Parallelism vs. concurrency
()
1. Identify Sources of Blocked Threads
Synchronization and locking
()
Garbage collection
()
Resource chokepoints and long-running operations
()
Bad component defaults
()
Java stream issues
()
2. Troubleshoot Blocked Threads
Collect thread dumps
()
Microbenchmarks in Java with JMH
()
Find the source of a blockage
()
Challenge: Find the sleeping method
()
Solution: Find the sleeping method
()
Identify blocked threads in thread dumps
()
View blocked threads with Java Mission Control
()
View blocked threads with Java Flight Recorder
()
Challenge: Run JMH benchmarks and compare
()
Solution: Run JMH benchmarks and compare
()
Conclusion
Conquer your threads
()
Ex_Files_Java_Concurrency_Latency_Throughput.zip
(515 KB)