- 专利标题: Automatically enabling a read-only cache in a language in which two arrays in two different variables may alias each other
-
申请号: US14946902申请日: 2015-11-20
-
公开(公告)号: US09824419B2公开(公告)日: 2017-11-21
- 发明人: Kazuaki Ishizaki
- 申请人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理机构: Tutunjian & Bitetto, P.C.
- 代理商 Vazken Alexanian
- 主分类号: G06F12/00
- IPC分类号: G06F12/00 ; G06T1/60 ; G06F12/0875
摘要:
A method and system are provided for executing, by a processor including a read-only cache, a program having a plurality of variables including a first variable and a second variable. Each variable is for executing a respective read operation or a respective write operation for an object. The method includes providing a first code that uses the read-only cache and a second code that does not use the read-only cache. The method further includes determining, by the processor, whether a first object designated by the first variable is aliased or not aliased with a second object designated by the second variable. The method also includes executing, by the processor, the first code when the first object is not aliased with the second object, and the second code when the first object is aliased with the second object.
公开/授权文献
信息查询