xo-alloc2: DX1CollectorIterator infra [WIP]
This commit is contained in:
parent
59c0311ed7
commit
bf27314688
30 changed files with 1041 additions and 176 deletions
|
|
@ -162,6 +162,19 @@ namespace utest {
|
|||
info.guard_hi().second == nullptr);
|
||||
|
||||
}
|
||||
|
||||
#ifdef NOT_YET // to verify iteration here, need iterator support in AAllocator
|
||||
|
||||
/* verify iteration visits all the allocs, exactly once */
|
||||
{
|
||||
auto alloc_map = allocs_by_lo_map;
|
||||
|
||||
for (AllocInfo info : mm) {
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue