首页>
外国专利>
RESILIENT ADAPTIVE BIASED LOCKING IN MULTI-THREAD CONCURRENT PROGRAM EXECUTION
RESILIENT ADAPTIVE BIASED LOCKING IN MULTI-THREAD CONCURRENT PROGRAM EXECUTION
展开▼
机译:在多线程并发程序执行中弹性自适应偏置锁定
展开▼
页面导航
摘要
著录项
相似文献
摘要
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.
展开▼