Patent ID: 9069894
Filing Date: 2015-06-30
Classification: G06F

Abstract:
1. A method of testing for potential data collisions between a first thread and a second thread of an application executing on a computer, the first thread and the second thread configured to execute concurrently with respect to each other, the method comprising: automatically identifying a variable as a test target by determining that the variable is accessed by the first thread by determining that the same variable is also accessed by the second thread; based on the variable having been identified as a test target, automatically inserting test code into the application, the test code inserted within application code of the first thread and at a location of an access operation within application code of the first thread that accesses the variable, the test code located according to the location of the access operation within the application code of the first thread; while the first thread and second thread are executing, before the access operation accesses the identified variable shared by the first thread and the second thread, determining, by the test code, whether an indication of the variable is in a list of active variables, and in response to the determining, the test code: