From the course: Java Concurrency Troubleshooting: Latency and Throughput
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Find the source of a blockage - Java Tutorial
From the course: Java Concurrency Troubleshooting: Latency and Throughput
Find the source of a blockage
- [Instructor] You've probably been in situations where someone throws some code in front of you, and says make it go fast. Or report comes from production that this particular interaction is really slow. Before you swoop into action, pause for a bit. The first instinct of many developers when they get reports of a slowing Application is to run straight into the code and start digging. Well, I've got news for you. Performance man, or woman, you're not going to find much without using tools and asking some questions first, the tooling comes first. If you don't have a monitoring and alerting tool already tracking the resource utilization and performance of your Application. Pause this video right now and go install something that Oh, okay, okay, wait, wait, wait, maybe don't go right now. I'm sure an awesome engineer like yourself already has something in place for this. When you're trying to find the root cause of latency…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Find the source of a blockage4m 46s
-
(Locked)
Collect thread dumps5m 41s
-
(Locked)
Challenge: Find the sleeping method1m 4s
-
(Locked)
Solution: Find the sleeping method3m 27s
-
(Locked)
Identify blocked threads in thread dumps4m 46s
-
(Locked)
View blocked threads with Java Mission Control6m 20s
-
(Locked)
View blocked threads with Java Flight Recorder5m 43s
-
(Locked)
Microbenchmarks in Java with JMH7m 53s
-
(Locked)
Challenge: Run JMH benchmarks and compare28s
-
(Locked)
Solution: Run JMH benchmarks and compare2m 58s
-
(Locked)
-