Discover this podcast and so much more

Podcasts are free to enjoy without a subscription. We also offer ebooks, audiobooks, and so much more for just $11.99/month.

Episode 2. Deadlock, Livelock, Escaped locks, and wait - notify oh my!

Episode 2. Deadlock, Livelock, Escaped locks, and wait - notify oh my!

FromJava Pub House


Episode 2. Deadlock, Livelock, Escaped locks, and wait - notify oh my!

FromJava Pub House

ratings:
Length:
30 minutes
Released:
Sep 30, 2011
Format:
Podcast episode

Description

In this episode of Java pub house, we talk about Deadlocks, livelocks (and other spooky things). Most importantly we talk on how to spot them (using jstack, or visualvm), and how to program defensively against them. We also talk about escaped locks (the source of most deadlocks), and the wait/notify language construct. Finally we describe the unfairness of the lock (locks are not "fair" by default), and why is it so.
Released:
Sep 30, 2011
Format:
Podcast episode

Titles in the series (100)

This podcast talks about how to program in Java; not your tipical system.out.println("Hello world"), but more like real issues, such as O/R setups, threading, getting certain components on the screen or troubleshooting tips and tricks in general. The format is as a podcast so that you can subscribe to it, and then take it with you and listen to it on your way to work (or on your way home), and learn a little bit more (or reinforce what you knew) from it.