- 专利标题: Improving application code execution performance by consolidating accesses to shared resources
-
申请号: US14957632申请日: 2015-12-03
-
公开(公告)号: US09851957B2公开(公告)日: 2017-12-26
- 发明人: Aharon Abadi , Andrei Kirshin , Gabi Zodik
- 申请人: International Business Machines Corporation
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 主分类号: G06F9/45
- IPC分类号: G06F9/45 ; G06F9/455
摘要:
A computer implemented method of refactoring software code to optimize execution performance by consolidating shared resources accesses, comprising: receiving target code containing code entries accessing shared resource(s); automatically creating a dependency record for each shared resource. The dependency record describes dependencies among the code entries accessing shared data items in the shared resource(s); identifying, based on the dependency record, a resource access point for each shared resource(s), wherein the resource access point is located in an execution path of the target code to precede code entries which use the shared data item(s) and follows code entries which define the shared data item(s); automatically refactoring the target code to group together code entries which use the shared data item(s), wherein the group is placed following the resource access point to consolidate shared resource accesses of the code entries to the shared resource(s); and outputting the refactored target code.
公开/授权文献
信息查询