Joe Thornber
a7c96c0e1e
[everything] Fix circular shared pointer references.
...
We had a cycle from transaction_manager <-> space_map, and also from
the ref_counters back up to the tm.
This prevented objects being destroyed when various programs exited.
From now on we'll try and only use a shared ptr if ownership is
implied. Otherwise a reference will be used (eg, for up pointers).
2014-08-26 11:14:49 +01:00
Joe Thornber
7a2c41022f
Remove some 'typename's since older versions of g++ don't like.
2013-12-09 12:46:46 +00:00
Joe Thornber
3b11749dcf
[caching tools] handle version 1 metadata where policy_hint_width is zero
2013-10-14 12:40:13 +01:00
Joe Thornber
19a1596591
[caching/hint_array] add walk method
2013-10-09 09:45:17 +01:00
Joe Thornber
024216a5ff
[caching] a couple of methods didn't need to be virtual
2013-10-08 12:39:34 +01:00
Joe Thornber
be22981a7d
[ache_check] hint array damage reporting
2013-10-08 11:00:05 +01:00
Joe Thornber
ddf5765f9c
[caching] damage visitor and checker for hint array
2013-10-08 10:43:20 +01:00
Joe Thornber
7da033d5c1
[hint_array] move hint_traits to .cc file
2013-10-08 10:02:25 +01:00
Joe Thornber
bb898eeaad
[cache_restore/dump] hint_width work.
...
dump/restore cycle works again.
2013-09-26 11:36:01 +01:00
Joe Thornber
8408ab12f8
[caching] add grow method to the hint_array wrapper
2013-09-24 12:12:57 +01:00
Joe Thornber
17f7c982f2
[caching] hint support
2013-09-24 12:00:09 +01:00
Joe Thornber
41864f041f
hint_array pack/unpack
2013-09-12 14:42:59 +01:00
Joe Thornber
dadb32d15f
some work on cache_restore
2013-09-12 12:33:32 +01:00