Monday Jul 10, 2006

Sun Studio Express: Data Race Detection Tool (DRDT)

The current Sun Studio Express build (June 2006) contains a new Data Race Detection Tool (DRDT). If you are doing any parallel programming, data race conditions are particularly difficult problems to avoid without the right tools. Essentially, a race condition is a flaw in an application where the output exhibits unexpected critical dependence on the relative timing of events- thus producing different results at different times or runs. The venerable printf() unfortunately doesn't help much here, but if the compiler could produce the right information and could work intelligently with a tool to do the analysis, one could identify and then avoid these conditions!

Check out DRDT in Sun Studio Express and let us know what you think!

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed