发明名称 Methods and hardware for safe memory allocation in arbitrary program environments
摘要 In a method for dynamic allocation of memory address space, an original version of a program is executed. This execution includes the execution of a request to use memory address space occupied by an optimized version of the program that is protected from modification. When this request is detected, execution control is passed to an optimization code that was used to define the optimized program. The optimization code copies a portion of the optimized program residing in the memory address space requested by the original program, writes the copied portion to unallocated memory address space, and adjusts the code of the optimized program. The protection of the copied portion of the optimized program is released, and execution control is returned to the original program. The request to use the memory address space occupied by the portion of the optimized for which the protection has been released is then re-executed.
申请公布号 US2005060694(A1) 申请公布日期 2005.03.17
申请号 US20030667274 申请日期 2003.09.16
申请人 SUN MICROSYSTEMS, INC. 发明人 CIVLIN JAN
分类号 G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址