A Program Scheduling Method for Data Race Detection
A technology of data competition and scheduling method, applied in the direction of software testing/debugging, can solve the problems of missing data competition, inefficiency, unable to efficiently detect data competition, etc., to achieve the effect of improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0026] against figure 1 In the data competition hidden by HBR in a, the present invention will schedule the operation of the program to generate the operation shown in b in 1, thereby exposing the data competition on x, and then detected by the data competition detection tool based on HBR.
[0027] like figure 2 As shown, the steps of the present invention include: dividing a given program p into several program blocks {b 1 ,b 2 ,...b n}; By running the program p once, dynamically determine each program block b i The collection of types of locks {L(b 1 ), L(b 2 ),…L(b n )}; Select a data race detection tool based on Happens-before, run the program p again and schedule the operation of each thread according to the relationship between each thread and the lock and the type set of locks in the program block, and use the selected The data competition detection tool detects data competition; recalculates the lock type set corresponding to each program block during the sched...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com