xo-alloc: utest: fix broken alloc utests

This commit is contained in:
Roland Conybeare 2025-11-15 16:38:18 -05:00
commit bd3dc59c07
5 changed files with 82 additions and 40 deletions

View file

@ -201,12 +201,24 @@ namespace xo {
return retval;
}
std::size_t
GC::pagesize() const
{
return nursery_to()->page_size();
}
std::size_t
GC::nursery_from_allocated() const
{
return nursery_from()->allocated();
}
std::size_t
GC::nursery_to_allocated() const
{
return nursery_to()->allocated();
}
std::size_t
GC::nursery_to_reserved() const
{