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