How to Use Thread Analyzer to Find Data Races
Thread Analyzer follows the same “collect-analyze” model that the Oracle Solaris Studio
Performance Analyzer uses.
There are three steps involved in using Thread Analyzer:
-
Instrument the Code
-
Create a Data-Race-Detection Experiment
-
Examine the Data-Race-Detection Experiment