Shared variable access frequency based sampling rate decision-making method and system
A technology of shared variables and access frequency, applied in the field of multi-threaded program debugging, can solve problems such as high overhead, and achieve the effect of reducing detection overhead, reducing sampling operations, and ensuring accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0032]In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.
[0033] When a program starts to execute, the code insertion is monitored for the shared variable access operation and synchronization operation in the binary code of the source program, so as to effectively analyze whether there is data competition in the program. Specify a global sampling rate r, that is, use a certain probability to analyze all shared variable access and synchronization operati...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


