发明名称 Reducing the number of heap handles in a program
摘要 One embodiment of the present invention provides a system that reduces the number of heap handles in a program. First, the system builds an intermediate representation of the program. The system then analyzes the intermediate representation to determine whether executing a function may cause a garbage-collection operation. If so, the system further analyzes the program to determine whether a heap handle in the program is defined and/or used in proximity to a call to the function. Next, the system determines whether the heap handle can be replaced by an ordinary pointer, in order to facilitate subsequently converting the heap handle to an ordinary pointer, if possible. Note that converting a heap handle to an ordinary pointer reduces the space requirements for the program and increases the speed and efficiency of the program and garbage collection operations.
申请公布号 US8181177(B1) 申请公布日期 2012.05.15
申请号 US20060581820 申请日期 2006.10.16
申请人 PLISS OLEG A.;WONG KINSLEY;LAM IOI K.;ORACLE AMERICA, INC. 发明人 PLISS OLEG A.;WONG KINSLEY;LAM IOI K.
分类号 G06F9/46 主分类号 G06F9/46
代理机构 代理人
主权项
地址