Rearrange journaldb infrastructure.

This commit is contained in:
Gav Wood
2016-03-11 13:50:39 +01:00
parent 2a856a13f0
commit 4771fdf0fb
6 changed files with 571 additions and 176 deletions

View File

@@ -412,6 +412,7 @@ impl BlockQueue {
}
}
/// Optimise memory footprint of the heap fields.
pub fn collect_garbage(&self) {
{
self.verification.unverified.lock().unwrap().shrink_to_fit();