Would you pay for GC?
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Wed Jan 26 08:20:51 UTC 2022
On Wednesday, 26 January 2022 at 06:20:06 UTC, Elronnd wrote:
> Thread-local gc is a thing. Good for false sharing too (w/real
> threads); can move contended objects away from owned ones. But
> I see no reason why fibre-local heaps should need to be much
> different from thread-local heaps.
The difference is that you maybe have 8 threads, but maybe 10000
tasks. So in the latter case you cannot let the heap-owner
collect its own garbage.
More information about the Digitalmars-d
mailing list