An automatic deadlock repair method based on lock acquisition in advance
A technology of early acquisition and automatic repair, applied in the fields of instrumentation, electrical digital data processing, computing, etc., to achieve the effect of high success rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0036] Such as figure 1 As shown, the steps of the present invention include: for each thread t in the deadlock, extract the synchronization module of the program and the control flow in the synchronization module, and calculate the set of operations on other locks in the synchronization module; according to the obtained set, select the most suitable The candidate thread directly executes the lock acquisition operation in advance, and additional context-aware condition control; according to the control flow chart type of the extracted synchronization module, do corresponding processing; execute the repaired program, if the compilation fails, return to the previous step, Select another candidate thread for deadlock repair operation. The present invention cannot fix the deadlock if there are no candidate threads to choose from.
[0037] A thread acquires a lock and waits to acquire another lock is a necessary condition for deadlock to occur. The first lock acquired by a thread ...
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