Testing concurrent applications with MultithreadedTC

MultithreadedTC is an archived project that you can download from http://code.google.com/p/multithreadedtc/. Its latest version is from 2007, but you can still use it to test small concurrent applications or parts of large applications independently. You can't use it to test real tasks or threads, but you can use it to test different orders of execution to check if they provoke race conditions or deadlocks.

It's based on an internal clock that works with ticks, which allows you to control the order of execution of different threads to test if that order of execution could cause any concurrency problems.

First of all, you need to associate two libraries to your project:

  • The MultithreadedTC ...

Get Mastering Concurrency Programming with Java 9 - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.