A stack of space map tweaks.

new_block() is now a concrete method implemented using the virtual
find_free() and inc() methods.

recursive space map is better at giving correct reference counts.
This commit is contained in:
Joe Thornber
2013-04-23 10:57:47 +01:00
parent e0230c5c55
commit d8a208cbc8
7 changed files with 107 additions and 104 deletions

View File

@@ -71,7 +71,8 @@ namespace persistent_data {
void get_current_span_from_sub_it() {
current_span_ = sub_it_.next();
current_begin_ = current_span_->first;
if (current_span_)
current_begin_ = current_span_->first;
}
maybe_span next_() {