发明名称 |
Computer system with heap reset |
摘要 |
A computer system provides an object-based virtual machine environment for running successive applications. The computer system includes storage, at least a portion of which is logically divided into two or more heaps in which objects can be stored. A first heap is reset between successive applications, and a second heap persists from one application to the next. A card table is provided which comprises multiple cards, each corresponding to a region of said storage. Each card in the card table is set to null when the first heap is reset between successive applications. A card is marked whenever an object in its corresponding storage region is created or updated. It is then possible to detect potential references from the second heap to the first heap at reset by scanning the cards in the card table corresponding to the second heap, and detecting any cards which have been marked. The system further identifies any objects on the first heap which have a finalization method. The finalization methods of any such identified objects are then run on the main thread prior to reset of the first heap.
|
申请公布号 |
US2002056019(A1) |
申请公布日期 |
2002.05.09 |
申请号 |
US20010928565 |
申请日期 |
2001.08.13 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
KOLODNER ELLIOT KARL;LEWIS ETHAN;PAICE SUSAN PATRICIA;TROTTER MARTIN JOHN;BORMAN SAMUEL DAVID |
分类号 |
G06F9/50;G06F12/02;(IPC1-7):G06F12/00 |
主分类号 |
G06F9/50 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|