Crash consistency fault detection method and system for persistent memory concurrent program
A fault detection and consistency technology, applied in the direction of error detection/correction, software testing/debugging, instrumentation, etc., can solve the problem of not considering the data persistence state, not supporting crash consistency fault detection, etc., to achieve the effect of simple operation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] A crash-consistency fault detection method for persistent-memory concurrent programs such as figure 1 shown, including the following steps:
[0047] S1. Insert memory access instructions and persistent memory-related interfaces in the concurrent program of the persistent memory to be tested through the compiler to obtain an executable program; wherein, the instrumented code is used for crash consistency fault detection;
[0048] S2. According to the input rules of the persistent memory concurrent program to be tested, generate multiple input parameters as the input of the executable program to form an input parameter set;
[0049] Specifically, the above step S2 includes the following steps:
[0050] S21. According to the input rules of the persistent memory concurrent program to be tested, randomly generate input parameters, which are recorded as seeds;
[0051] S22. Input the seed into the executable program, start running the executable program, and record the code...
Embodiment 2
[0075] A crash-consistency fault detection system for concurrent programs in persistent memory, comprising:
[0076] The instrumentation module is used to instrument the memory access instructions and persistent memory related interfaces in the concurrent program of the persistent memory to be tested through the compiler to obtain an executable program; the instrumentation code is used for crash consistency fault detection;
[0077] The input parameter generation module is used to generate a plurality of input parameters as the input of the executable program according to the input rules of the persistent memory concurrent program to be tested to form an input parameter set;
[0078] The fault detection module is used to separately obtain the memory access mode corresponding to the persistent memory address accessed by each memory access instruction in the executable program under the input parameters in the input parameter set, and to control the executable program to generate...
Embodiment 3
[0082] A machine-readable storage medium, the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to implement the present invention. Embodiment 1 of the invention provides a crash consistency fault detection method for persistent memory concurrent programs.
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