National Institute of Standards and Technology
Package illustrating a test case

Test case 145797

Description

Demonstrates a deadlock caused by synchronizing on objects in a different order in different functions in a Servlet that accesses shared variables. Servlets are inherently multithreaded, so we dont need to actually start threads in the bad() and goodX() functions.

Flaws

Test Suites

Documentation

Have any comments on this test case? Please, send us an email.