If a variable is used by multiple threads, you need to make it volatile for example. I think it would be better to pull out the test thread from the stress support and use that as a basis for creating thread subclasses. That prevent repetition (and error).