Invention Grant
- Patent Title: Identifying lock granularization opportunities
- Patent Title (中): 识别锁定粒度化机会
-
Application No.: US12728407Application Date: 2010-03-22
-
Publication No.: US08595692B2Publication Date: 2013-11-26
- Inventor: Aruna A. Kalagananam , Venkataraghavan Lakshminarayanachar , Prashanth K. Nageshappa
- Applicant: Aruna A. Kalagananam , Venkataraghavan Lakshminarayanachar , Prashanth K. Nageshappa
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent A. Bruce Clay
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
Lock granularization opportunities are identified in computer code. A processor is used to generate synchronized code blocks and fields (data) accessed in each code block. Each of the code blocks can then be represented by a set. A list of non-intersecting synchronized code blocks having no commonly accessed fields is generated, and a list of intersecting synchronized code blocks (code blocks each having at least one commonly accessed field) is also generated. Equal and superset-subset lists are then generated from the list of intersecting synchronized code blocks. Granularized locks are applied directly around the fields that are accessed within code blocks represented by non-intersecting and equal sets. Granularized locks are also applied around the fields that are accessed within code blocks represented by the superset, and the same locks are applied to code blocks represented by the subsets, thereof.
Public/Granted literature
- US20110231814A1 IDENTIFYING LOCK GRANULARIZATION OPPORTUNITIES Public/Granted day:2011-09-22
Information query