DOC PREVIEW
MIT 6 033 - A Dynamic Data Race Detector for Multithreaded Programs

This preview shows page 1-2 out of 6 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Eraser: A Dynamic Data Race Detector for Multithreaded ProgramsReviewIntroduce tool to help eliminate data racesThreads must use mutex locksFinds bugs during dynamic executionsChecks shared variables on heap or global varsLocks at “right” granularityAssumption?Correct program holds a specific lock when accessing shared dataHow?Lockset algorithm:Determines association of locks and dataTracks lock set C(v) that could be associated with shared variableIf lock set becomes empty, sync error reportedExample #1Code:lock(A)x = x + 1unlock(A)lock(B)x = x + 1unlock(B)Example #2Thread 1:lock(A)if x > 5: z = x + 1else: z = 0unlock(A)Thread 2:x = 10Alternative MethodsMonitorsObject-orientedMethods perform locks on instance variablesStatic


View Full Document

MIT 6 033 - A Dynamic Data Race Detector for Multithreaded Programs

Documents in this Course
TRIPLET

TRIPLET

12 pages

End Layer

End Layer

11 pages

Quiz 1

Quiz 1

4 pages

Threads

Threads

18 pages

Quiz I

Quiz I

15 pages

Atomicity

Atomicity

10 pages

QUIZ I

QUIZ I

7 pages

Load more
Download A Dynamic Data Race Detector for Multithreaded Programs
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view A Dynamic Data Race Detector for Multithreaded Programs and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view A Dynamic Data Race Detector for Multithreaded Programs 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?