xo-gc: bugfix + mutation log test passes
This commit is contained in:
parent
39b1ad1b21
commit
362dcf73fc
6 changed files with 310 additions and 117 deletions
|
|
@ -35,6 +35,7 @@ namespace xo {
|
|||
**/
|
||||
void init_mlogs(std::size_t page_z);
|
||||
|
||||
const MutationLogConfig & config() const noexcept { return config_; }
|
||||
MutationLog * get_mlog(Role r, Generation g) noexcept { return mlog_[r][g]; }
|
||||
const MutationLog * get_mlog(Role r, Generation g) const noexcept { return mlog_[r][g]; }
|
||||
/** reminder: abusing Role because we need one additional mlog **/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue