mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-10 15:50:50 +02:00
mark_space_reacquire_memory updates pending_unavailable_bytes
This commit is contained in:
parent
33a3af2c73
commit
157d40466b
1 changed files with 2 additions and 1 deletions
|
@ -494,7 +494,8 @@ static void mark_space_reacquire_memory(struct mark_space *space,
|
|||
uintptr_t block = pop_unavailable_block(space);
|
||||
ASSERT(block);
|
||||
push_empty_block(space, block);
|
||||
pending += BLOCK_SIZE;
|
||||
pending = atomic_fetch_add(&space->pending_unavailable_bytes, BLOCK_SIZE)
|
||||
+ BLOCK_SIZE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue