首页>
外国专利>
Trace termination for on-the-fly garbage collection for weakly-consistent computer architecture
Trace termination for on-the-fly garbage collection for weakly-consistent computer architecture
展开▼
机译:跟踪终止,用于实时垃圾收集,以实现不一致的计算机体系结构
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method for memory management in execution of a program by a computer having a memory includes allocating respective portions of the memory to data objects using mutator threads of the program, whereby the objects are held in a heap created by the program. The data objects in the heap are traced so as to mark the data objects that are reachable at a given stage in the program. The computer loops over the mutator threads so as to verify for each of the mutator threads that every update to the allocated portions of the memory in progress by the mutator thread has been completed. The heap is then swept so as to free the memory that is allocated to the data objects that are not marked as reachable, for reallocation to new data objects.
展开▼