Invention Grant
- Patent Title: Resilient adaptive biased locking in multi-thread concurrent program execution
-
Application No.: US16697796Application Date: 2019-11-27
-
Publication No.: US11409578B2Publication Date: 2022-08-09
- Inventor: Andrew James Craik
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Garg Law Firm, PLLC
- Agent Rakesh Garg; Michael O'Keefe
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F9/52 ; G06N20/00

Abstract:
A computer-implemented method and system for resilient adaptive biased locking. The method includes adding, in a system including an adaptive lock reservation scheme having a learning state, a component comprising a per class counter that counts, collectively, a number of learning failures and a number of revocation failures. An embodiment includes initializing the per class counter upon loading a class with a predetermined value representing at least one of a maximum number of learning failures and cancellation instances associated with the class. An embodiment includes initializing, based on a determination of an operational state of the per class counter for an object transitioning from one of the learning state and a biased state to a flatlock state, a lock word of the object directly to the flatlock state while bypassing the biased state.
Public/Granted literature
- US20210157657A1 RESILIENT ADAPTIVE BIASED LOCKING IN MULTI-THREAD CONCURRENT PROGRAM EXECUTION Public/Granted day:2021-05-27
Information query