[space-maps/core] rewrite the core space map to use less memory.

This commit is contained in:
Joe Thornber
2020-05-27 12:00:40 +01:00
parent e92ae10408
commit 29cfdd8979
15 changed files with 268 additions and 121 deletions

View File

@@ -21,7 +21,7 @@ void test::zero_block(block_manager::ptr bm, block_address b)
transaction_manager::ptr
test::open_temporary_tm(block_manager::ptr bm)
{
space_map::ptr sm(new core_map(bm->get_nr_blocks()));
space_map::ptr sm{create_core_map(bm->get_nr_blocks())};
transaction_manager::ptr tm(new transaction_manager(bm, sm));
return tm;
}