会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 64. 发明授权
    • System and method for memory reclamation
    • 内存回收系统和方法
    • US06874074B1
    • 2005-03-29
    • US09711589
    • 2000-11-13
    • Felix BurtonSandeep Dutta
    • Felix BurtonSandeep Dutta
    • G06F12/02G06F12/16
    • G06F12/0269Y10S707/99953Y10S707/99957
    • A method for memory reclamation is disclosed that includes marking a memory object when an attempt to alter a reference to the memory object is detected by a software write barrier. Marking be by using representations (“black,” “white”, “gray”) stored as part of a garbage collection information data structure associated with each memory object. Initially, all allocated memory objects are marked white. Objects are then processed such that objects referenced by pointers are marked gray. Each object marked gray is then processed to determine objects referenced by pointers in it, and such objects are marked gray. When all objects referenced by pointers in the selected gray objected have been processed, the selected gray object is marked black. When all processing has been completed, objects still marked white may be reclaimed. Also described is a garbage collector which runs as a task concurrently with other tasks. A priority of the garbage collector may be increased to prevent interruption during certain parts of the garbage collection procedure.
    • 公开了一种用于存储器回收的方法,其包括当通过软件写入屏障检测到改变对存储器对象的引用的尝试时,对存储对象进行标记。 标记为使用与每个存储器对象相关联的垃圾收集信息数据结构的一部分存储的表示(“黑色”,“白色”,“灰色”)。 最初,所有分配的内存对象都标记为白色。 然后处理对象,使得由指针引用的对象被标记为灰色。 然后处理标记为灰色的每个对象以确定由其中的指针引用的对象,并且这些对象被标记为灰色。 当所选择的灰色对象中的指针引用的所有对象都已被处理时,所选的灰色对象被标记为黑色。 所有处理完成后,仍可标记为白色的对象可能被回收。 还描述了一个与其他任务同时作为任务运行的垃圾回收器。 可以增加垃圾收集器的优先级,以防止在垃圾收集过程的某些部分期间的中断。