Invention Grant
- Patent Title: System and method for deterministic garbage collection
- Patent Title (中): 虚拟机环境中确定性垃圾收集的系统和方法
-
Application No.: US13100165Application Date: 2011-05-03
-
Publication No.: US08195721B2Publication Date: 2012-06-05
- Inventor: David Lindholm , Mattias Joelson , Noora Peura
- Applicant: David Lindholm , Mattias Joelson , Noora Peura
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Fliesler Meyer LLP
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F17/30

Abstract:
In a virtual machine, Java Virtual Machine, or other runtime environment, a system and a method for improving the garbage collection times of the virtual machine memory. The JVM, or a garbage collector operating therein, can estimate, for an area of the memory space, the sum of the pause times for garbage collection of the software objects within the area, and control the garbage collection process so that the sum of the pause times for garbage collection will be lower than a target pause time limit, with a high degree of probability. A preselected compaction area can be pre-compacted to keep the compaction time within the target limit. The garbage collector can also predict the time required for final marking and repeat precleaning until the predicted final marking time is within the limits for pause times, and can improve pause times by redirecting application worker threads to do garbage collector work when entering or leaving the memory subsystem.
Public/Granted literature
- US20110208791A1 SYSTEM AND METHOD FOR DETERMINISTIC GARBAGE COLLECTION Public/Granted day:2011-08-25
Information query