Synchronized lock degradation method and device based on JVM Markword and medium
A lock-type, object technology, applied in the computer field, can solve the problems of not supporting lock downgrade, platform service stuck, affecting user experience, etc., to achieve the effect of improving operating efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0039] To make the purpose, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.
[0040] Such as figure 1 As shown, the first aspect of the embodiments of the present invention proposes a JVM Markword-based Synchronized lock downgrade method, including:
[0041] Step S1, obtaining the object header information of the object, and constructing the object header data structure of the object in the JVM according to the object header information of the object;
[0042] Step S2, in response to the construction of the object header data structure is completed, the lock record information table of the object is established according to the object header data structure;
[0043] Step S3, update the lock times of the thread in the lock record information table of the object according to the lock acc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


