National Institute of Standards and Technology
Package illustrating a test case

Test case 141839

Description

Demonstrates lack of any synchronization or locks in a Servlet that updates a shared variable. 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.