From b9b554e0f68726b19274209ea6ce910b7e9f5fbf Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 3 Aug 2020 13:22:57 -0300 Subject: Clearer handling of gray lists when entering generational mode When entering generational mode, all objects are old. So, the only objects that need to be in a gray list are threads, which can be assigned without barriers. Changes in anything else (e.g., weak tables) will trigger barriers that, if needed, will add the object to a gray list. --- ltests.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index 1a2d8d28..e9219e29 100644 --- a/ltests.h +++ b/ltests.h @@ -51,6 +51,7 @@ /* memory-allocator control variables */ typedef struct Memcontrol { + int failnext; unsigned long numblocks; unsigned long total; unsigned long maxmem; -- cgit v1.2.3-55-g6feb