4 ms·
One issue is shared mutable state. Typically a GC requires some sort of snapshot of the world state to determine liveness of memory objects.
by eternalban 13y ago
One issue is shared mutable state. Typically a GC requires some sort of snapshot of the world state to determine liveness of memory objects.
- riffraff 13y agostill, some of the work can be done in parallel I.e. the jvm has had UseConcMarkSweepGC for many many years. EDIT: what I mean is that there is still a need for locks, but a lot of work can be done concurrently.