The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Sep. 15, 2015
Filed:
May. 20, 2011
Tianwei Sheng, San Diego, CA (US);
Neil A. Vachharajani, San Francisco, CA (US);
Stephane Eranian, Grenoble, FR;
Robert Hundt, Palo Alto, CA (US);
Tianwei Sheng, San Diego, CA (US);
Neil A. Vachharajani, San Francisco, CA (US);
Stephane Eranian, Grenoble, FR;
Robert Hundt, Palo Alto, CA (US);
Google Inc., Mountain View, CA (US);
Abstract
A race detection mechanism can include running threads of a multithreaded program on a processor, the program being configured to produce locksets each of which indicate a set of one or more locks that a thread holds at a point in time. The mechanism can cause a performance monitoring unit included in the processor to monitor memory accesses caused by the threads and to produce samples based on the memory accesses, the samples being indicative of an accessed memory location. The mechanism can detect an existence of a data race condition based on the samples and the locksets. Detecting can include identifying a protected access to a memory location by a first thread of the threads and identifying an unprotected access to the memory location by a second thread of the threads. The process selectively outputs an indication of the data race condition.