Another technique that helps with data corruption is write barriers.
另一个防止数据丢失的技术是写屏障。
To keep individual GC pauses short, Metronome uses write barriers within the heap and associated metastructures to track live and potentially dead objects.
为保持较短的单次 GC 暂停时间,Metronome 在堆内使用了写屏障(write barrier)以及相关的亚结构(metastructure)来跟踪活动的和可能死亡了的对象。
InfoQ: it seems like the longlife GC patch is the first step towards a generational GC, particularly the introduction of code for handling write barriers and remembered sets.
InfoQ:看起来这个补丁将会是迈向新一代垃圾收集器的第一步,尤其是关于处理写屏障和可记忆化集合的代码介绍。
应用推荐