发明授权
- 专利标题: System and method for deterministic garbage collection
- 专利标题(中): 虚拟机环境中确定性垃圾收集的系统和方法
-
申请号: US13100165申请日: 2011-05-03
-
公开(公告)号: US08195721B2公开(公告)日: 2012-06-05
- 发明人: David Lindholm , Mattias Joelson , Noora Peura
- 申请人: David Lindholm , Mattias Joelson , Noora Peura
- 申请人地址: US CA Redwood Shores
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Fliesler Meyer LLP
- 主分类号: G06F12/00
- IPC分类号: G06F12/00 ; G06F17/30
摘要:
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.
公开/授权文献
- US20110208791A1 SYSTEM AND METHOD FOR DETERMINISTIC GARBAGE COLLECTION 公开/授权日:2011-08-25
信息查询