3 ms·
Is this a concurrent GC? Or is it basically the GC that is inside V8 which (I assume) collects only the garbage of a single thread?
by amelius 3y ago
Is this a concurrent GC? Or is it basically the GC that is inside V8 which (I assume) collects only the garbage of a single thread?
- timfsu 3y agoV8 has had concurrent GC for a while - https://v8.dev/blog/concurrent-marking https://v8.dev/blog/concurrent-marking
- amelius 3y agoOk, perhaps I'm using the wrong terminology, but what I meant is that the GC can collect garbage from multiple threads at the same time, while the GC itself also runs in a different thread (or multiple). Without this, you can't really run languages like Go or C# inside the VM.