Sapphire: Copying GC Without Stopping the World

Posted rsapaper

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Sapphire: Copying GC Without Stopping the World相关的知识,希望对你有一定的参考价值。

https://people.cs.umass.edu/~moss/papers/jgrande-2001-sapphire.pdf

Many concurrent garbage collection (GC) algorithms have been devised, but few have been implemented and evaluated, particularly for the Java programming language. Sapphire is an algorithm we have devised for concurrent copying GC. Sapphire stresses minimizing the amount of time any given application thread may need to block to support the collector. In particular, Sapphire is intended to work well in the presence of a large number of application threads, on small- to medium-scale shared memory multiprocessors. A specific problem that Sapphire addresses is not stopping all threads while thread stacks are adjusted to account for copied objects (in GC parlance, the "flip" to the new copies). Sapphire extends previous algorithms, and is most closely related to replicating copying collection, a GC technique in which application threads observe and update primarily the old copies of objects [13]. The key innovations of Sapphire are: (1) the ability to "flip" one thread at a time (changing the thread‘s view from the old copies of objects to the new copies), as opposed to needing to stop all threads and flip them at the same time; and (2) avoiding a read barrier.

以上是关于Sapphire: Copying GC Without Stopping the World的主要内容,如果未能解决你的问题,请参考以下文章

Solution of Publishing failed with multiple errors Error copying file static

size mismatch for roi_heads.box_predictor.cls_score.weight: copying a param with shape torch.Size([9

pytorch 训练时错误size mismatch for module_list.88.Conv2d.weight: copying a param with shape torch.Size

Java 垃圾回收(GC)

JVM之GC算法

java basic-GC