Mark remainder of rightmost page no_access after gc

This commit is contained in:
2024-06-15 18:11:18 -07:00
parent 3e9c69e857
commit 43ba21329b

View File

@@ -378,6 +378,9 @@ struct MemManager {
#endif
}
next = max + 1;
assert(firstUnaddressable >= next);
VALGRIND_MAKE_MEM_NOACCESS(base + next,
(firstUnaddressable - next) * sizeof(Node));
}
int64_t getBytes() const {