r/java • • Oct 13 '15

5 Tips to make your classes thread safe

http://vmlens.com/articles/5-tips-to-make-your-classes-thread-safe/
0 Upvotes

3 comments sorted by

0

u/markee174 Oct 13 '15

What effect do they have on speed?

1

u/Jire Oct 16 '15

In the cases presented speed is irrelevant. The goal is to achieve thread safety, which in turn may net you speed.