发明名称 |
Method and apparatus for storing long-lived objects in a virtual machine |
摘要 |
One embodiment of the present mechanism provides a system for storing long-lived objects defined within an object-oriented programming system. These long-lived objects are created in a virtual machine used for executing platform-independent code and are ordinarily created during initialization of the virtual machine. The system works by allocating a storage area reserved for long-lived objects that is not subject to garbage collection. After the storage area is allocated, the system receives requests to create an object. The system then determines if the object is a long-lived object by referring to a table of long-lived objects. If the object is a long-lived object, it is created and placed in the reserved storage area.
|
申请公布号 |
US6681234(B2) |
申请公布日期 |
2004.01.20 |
申请号 |
US20000736655 |
申请日期 |
2000.12.12 |
申请人 |
SUN MICROSYSTEMS, INC. |
发明人 |
SOKOLOV STEPAN;WALLMAN DAVID |
分类号 |
G06F9/44;(IPC1-7):G06F17/30 |
主分类号 |
G06F9/44 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|