xo-alloc2 xo-gc: assorted utest-guided cleanup ++ coverage

This commit is contained in:
Roland Conybeare 2026-05-10 18:19:41 -04:00
commit 9b84ef8a7f
12 changed files with 111 additions and 11 deletions

View file

@ -39,6 +39,7 @@ namespace utest {
bool
AllocUtil::random_allocs(uint32_t n_alloc,
uint32_t max_alloc_z,
bool catch_flag,
xoshiro256ss * p_rgen,
obj<AAllocator> mm)
@ -64,6 +65,8 @@ namespace utest {
double si = ngen(*p_rgen);
double zi = ::pow(2.0, si);
std::size_t z = ::ceil(zi);
if (z > max_alloc_z)
z = max_alloc_z;
bool ok_flag = true;