Self-adaptive lightweight dynamic mixed data competition detection method
A data competition and dynamic mixing technology, applied in error detection/correction, electrical digital data processing, software testing/debugging, etc., can solve problems such as false negatives and false positives, consumption of large memory resources, thread scheduling uncertainty, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0018] Taking the data race detection of the classic Java benchmark program "raytracer" as an example, combined with the attached figure 1 The specific implementation manner of an adaptive lightweight dynamic mixed data race detection method proposed by the present invention will be described.
[0019] Step 1: For a Java concurrent program raytracer, without affecting the dynamic execution process of raytracer, the dynamic data race detector maintains two read queues RC with length Q_LEN=6 for each shared variable x x and write queue WC x , RC x and WC x Both use the first-in-first-out principle to store the read access information and write access information of each thread to x with the cache mechanism. The access information is stored in the form of , which is used to represent the thread number of thread t, the access time stamp and the current thread’s time stamp. The set of locks held, where epoch is represented as t@c, which means that the current timestamp of thread...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


