发明名称 |
GLOBAL CONSTANT POOL TO ALLOW DELETION OF CONSTANT POOL ENTRIES |
摘要 |
A method and apparatus for reducing runtime memory requirements of a virtual machine. The invention involves analyzing object code compiled from source code. The object code includes at least two load-units that each contain a load-unit specific constant pool. Each load-unit is analyzed to determine which constants are actual constants and then those actual constants are analyzed to determine where commonality exists among the load-units. If a constant is determined to be redundant it is rewritten to a global constant pool. The references to the constant in the load-unit specific constant pool are rewritten to point to the value in the global constant pool. The memory allocated to the constant in the individual load-unit is then reallocated, either by a programmed routine or by memory management tools.
|
申请公布号 |
WO0157649(A2) |
申请公布日期 |
2001.08.09 |
申请号 |
WO2001IB00457 |
申请日期 |
2001.02.07 |
申请人 |
INSIGNIA SOLUTIONS PLC;PLUMMER, WAYNE;KRAMSKOY, JERRY |
发明人 |
PLUMMER, WAYNE;KRAMSKOY, JERRY |
分类号 |
G06F9/445;(IPC1-7):G06F9/00 |
主分类号 |
G06F9/445 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|