tgoop.com/yegor256news/1488
Create:
Last Update:
Last Update:
Sometimes it's necessary to test a Java class for its so called "thread-safety" — its readiness to accept concurrent requests from multiple threads and behave consistently. Not all classes are thread-safe. For example, LinkedList
and HashMap
are not. How do you know that your classes are thread-safe? I released together, a new tiny open source library that helps you make sure they are, by putting your Java object under stress — sending similar requests to it from different concurrent threads.
BTW, thanks to this new testing instrument, a bug was discovered in tojos, a pretty stable library that we've been using for a few years, inside the EO compiler.
BY @yegor256 news
Share with your friend now:
tgoop.com/yegor256news/1488