首页>
外国专利>
AUTOMATICALLY ENABLING A READ-ONLY CACHE IN A LANGUAGE IN WHICH TWO ARRAYS IN TWO DIFFERENT VARIABLES MAY ALIAS EACH OTHER
AUTOMATICALLY ENABLING A READ-ONLY CACHE IN A LANGUAGE IN WHICH TWO ARRAYS IN TWO DIFFERENT VARIABLES MAY ALIAS EACH OTHER
展开▼
机译:自动启用两个不同变量中的两个数组的语言中的只读缓存
展开▼
页面导航
摘要
著录项
相似文献
摘要
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.
展开▼