Diagnosing Java Code : The Orphaned Thread bug pattern

Discussion on detecting, fixing, and avoiding the Orphaned Thread bug pattern.
Posted by Scripts on 2022-08-15 01:33:05
License Type
License Type
Freeware
Description
In multithreaded code, it is often common to use a single, master thread that drives the actions the other threads take. This master thread may send messages, often by placing them on a queue, that are then processed by the other threads. But if the master thread throws an exception, the remaining threads may continue to run, awaiting more input to the queue, causing the program to freeze. This article discusses detecting, fixing, and avoiding this bug pattern.
Author

kwigint

Ratings & Review
Uh oh! We couldn't find any review for this listing.
Post Review
License Type
License Type
Freeware