Concurrent-program test method based on lock-object splitting strategy and test system thereof
A technology of program testing and objects, applied in the field of concurrent program testing method and its testing system based on lock object splitting strategy, can solve the problems of ineffective detection of data competition, atomic violation of deadlock, insufficient and ineffective test case set Detect problems such as concurrent program errors to achieve the effect of improving capabilities
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] The present invention detects the concurrent program error caused by using the wrong lock object to protect the shared variable by splitting the shared variable abnormal access code and executing the interweaving sequence between the fine-grained synchronization events on the different lock objects in the original concurrent program to be tested. The following Take a Java concurrent program CP as an example to illustrate its specific implementation steps:
[0034] 1. Analysis of abnormal access to shared variables
[0035] (1) Construction program control flow chart (CFG)
[0036] Use the Java program static analysis framework (such as Soot) [4] to obtain the basic control flow and data flow information of the concurrent program CP through the UnitGraph class, and construct the run() method in each thread and the program control flow of directly or indirectly calling subprograms Figure (CFG).
[0037] (2) Shared variable analysis
[0038] Through the static thread escape analys...
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