9 Investigating locks in multithreaded architectures

This chapter covers

  • Monitoring an application’s threads
  • Identifying thread locks and what causes them
  • Analyzing threads that are waiting

In this chapter, we discuss approaches to investigating the execution of apps that leverage multithreaded architectures. Generally, developers find implementing multithreaded architectures one of the most challenging things in app development, and making the app performant brings another dimension of difficulty. The techniques we discuss in this chapter will give you visibility into the execution of such apps, allowing you to more easily identify problems and optimize the app execution.

To properly understand the content of this chapter, you need to know ...

Get Troubleshooting Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.