


The deadlock event listener will then kick in and act upon the deadlocked threads.If a deadlock is detected, notify with an event to resolve the deadlock.Run a deadlock detector that runs periodically to look for deadlocks in the system.
DEADLOCK JAVA HOW TO
Please note that re-designing the modules whenever we find a deadlock is not realistic.Ĭan someone take sometime to provide an input or brainstorm on an idea of how to resolve a deadlock if at all it happens, so that we can report it and move forward, instead of halting completely. I could write few more preconditions but I thought these could be strong enough to support my question about why I might need a recovering strategy for a "Deadlock" in a software. High available software development where a downtime of 15 mins is considered as an SLA violation.New developers writing new code not knowing the overall system, please consider an Enterprise application.There are different teams working on the same product but as modules.

