wingo pushed a commit to branch wip-whippet
in repository guile.

commit 59c9f5dff943f3cf13fa0ae60952a65773e5b5d9
Author: Andy Wingo <wi...@igalia.com>
AuthorDate: Sun Aug 25 08:58:55 2024 +0200

    Mark blocks that are targets of evacuation
---
 src/nofl-space.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/nofl-space.h b/src/nofl-space.h
index 118b4e65b..2a657f7d7 100644
--- a/src/nofl-space.h
+++ b/src/nofl-space.h
@@ -1271,7 +1271,8 @@ nofl_space_evacuate(struct nofl_space *space, uint8_t 
*metadata, uint8_t byte,
       uint8_t *new_metadata = nofl_metadata_byte_for_object(new_ref);
       memcpy(new_metadata + 1, metadata + 1, object_granules - 1);
       gc_edge_update(edge, new_ref);
-      return nofl_space_set_mark(space, new_metadata, byte);
+      return nofl_space_set_nonempty_mark(space, new_metadata, byte,
+                                          new_ref);
     } else {
       // Well shucks; allocation failed, marking the end of
       // opportunistic evacuation.  No future evacuation of this

Reply via email to