Java Invariant Detection System for Object Granular Collection
A technology for detecting systems and objects, applied in software testing/debugging and other directions, can solve problems such as inability to detect program concurrency errors, difficulty in identifying variable dependencies in programs, and achieve the effect of reducing the number of occurrences and running overhead.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0043] figure 1 It is the overall framework of the present invention, including a preprocessing module, an invariant training module, an invariant file analysis module, an invariant detection module and an error sorting and deletion module. According to the workflow of invariant detection, here is an introduction to the work that each module is responsible for.
[0044] 1. The preprocessing module is responsible for detecting and filtering objects that will not cause concurrency errors in the program. There are two types of such objects, namely local objects and single-assignment objects. They will only be written by one thread in the program, so they will not cause concurrency errors. Find these objects through static analysis and add tags to the bytecode to mark them. During the training and detection runs, these labels are identified and the inspection and logging of labeled objects are ignored, thereby reducing the overhead of detection.
[0045] 2. The invariant traini...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 