Invention Grant
- Patent Title: Correct refactoring of concurrent software
- Patent Title (中): 正确重构并发软件
-
Application No.: US12718648Application Date: 2010-03-05
-
Publication No.: US08689191B2Publication Date: 2014-04-01
- Inventor: Julian Dolby , Max Schaefer , Manu Sridharan , Frank Tip , Emina Torlak
- Applicant: Julian Dolby , Max Schaefer , Manu Sridharan , Frank Tip , Emina Torlak
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Fleit Gibbons Gutman Bongini & Bianco PL
- Agent Jon A. Gibbons
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
Automated refactorings as implemented in modern IDEs for Java usually make no special provisions for concurrent code. Thus, refactored programs may exhibit unexpected new concurrent behaviors. We analyze the types of such behavioral changes caused by current refactoring engines and develop techniques to make them behavior-preserving, ranging from simple techniques to deal with concurrency-related language constructs to a framework that computes and tracks synchronization dependencies. By basing our development directly on the Java Memory Model we can state and prove precise correctness results about refactoring concurrent programs. We show that a broad range of refactorings are not influenced by concurrency at all, whereas other important refactorings can be made behavior-preserving for correctly synchronized programs by using our framework. Experience with a prototype implementation shows that our techniques are easy to implement and require only minimal changes to existing refactoring engines.
Public/Granted literature
- US20110219361A1 CORRECT REFACTORING OF CONCURRENT SOFTWARE Public/Granted day:2011-09-08
Information query