Garbage Collection for Systems Programmers

deadalnix deadalnix at gmail.com
Mon Apr 8 15:29:43 UTC 2024


On Sunday, 7 April 2024 at 10:04:37 UTC, Sebastian Nibisz wrote:
>> Java's latest new concurrent GC doesn't need write barriers
>
> That's not true.
>
> You either use a write barrier or you stop the world; 
> otherwise, it is impossible. All Java GCs use write barriers 
> and pause threads. The GC for D can be completely pauseless.

You can also have read barriers, but the typical program does 
vastly more read than writes, so this is a losing strategy.


More information about the Digitalmars-d mailing list