Analyze Race Conditions and Deadlocks

To see the found races and deadlocks open the file target/vmlens-reports/index.html. This html file shows you for race conditions

  1. The field or array where the race occurred
  2. And by clicking of the link at the field, the stack trace of the reading and writing thread

and for deadlocks

  1. The two monitors which led to the deadlock
  2. And by clicking of the link at the field, the stack trace of the two threads

The following example shows one deadlock and one race condition:

By clicking on the first link you see the stack trace of the two threads of the deadlock:

and by clicking on the second link you see the stack trace of the reading and writing thread of the race condition: