xo-alloc: utest: fix broken alloc utests
This commit is contained in:
parent
9969804845
commit
bd3dc59c07
5 changed files with 82 additions and 40 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue