By completing GC work as a tax against allocation, it's possible to have uneven distribution of GC pauses and as such reduce the level of determinism in the GC behaviour.
完成GC工作对分配来说是个负担,GC暂停很可能是不均匀分配的,这样降低了GC行为的确定性。
Although Metronome achieves deterministic pause times through breaking the collection process up into incremental units of work, allocation can cause hiccups in the GC in some situations.
虽然Metronome通过将收集过程分解为步进的工作单元实现了确定的暂停时间,但是在某些情形下分配可能导致GC中出现hiccup。
First, it requires extra management work (allocation and freeing of memory block) wherever a buffer block is required.
首先,它要求在需要缓冲区块的任何地方进行额外的管理工作(分配和释放内存块)。
应用推荐