jenkinsci/jenkins — pull request #384 by johnvint (2012-02-22 16:18:23+00:00)
Title: Concurrent puts in UNIQUIFIED_NAMES causes infinite loops

UNIQUIFIED_NAMES can be accessed by multiple threads synchronizing on different instances of TestObject. As a result the synchronizing on instance method uniquifyName() is not enough to ensure mutual exclusion. The side effect of this race condition is an infinite loop via concurrent puts at line 348.