摘要 |
A memory management system is disclosed having a first memory heap module that assigns newly created objects to a first memory category and assigns persistent objects to a second memory category. The memory management system further assigns infrequently accessed persistent objects to a third memory category. A garbage collecting module collects garbage on objects in the first and second memory categories, but does not access objects in the third memory category. An operating system pages inactive objects assigned to the third memory category to a stable store. A user can debug the system, checking how many objects are assigned to the third memory category, and how many objects assigned to the third memory category are not accessed after initial allocation. Objects can be assigned to the third memory category based on selected criteria including time since access, likelihood of future object access, object size, and object priority. |