1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-27 21:40:34 +02:00

Add large object space to mark-sweep collector

This will let us partition the mark space into chunks of 32 or 64 kB, as
we won't need to allocate chunk-spanning objects.  This will improve
sweeping parallelism and is a step on the way to immix.
This commit is contained in:
Andy Wingo 2022-04-18 21:20:00 +02:00
parent 3ee2009de9
commit adc4a7a269
4 changed files with 88 additions and 12 deletions

View file

@ -22,8 +22,6 @@ struct heap;
struct gcobj;
struct large_object_space {
struct heap *heap;
pthread_mutex_t lock;
size_t page_size;