Skip to content

Commit

Permalink
Cherry-pick GC fixes from cmu-db#1349, second part. Compiles. Need to…
Browse files Browse the repository at this point in the history
… bring in tests.
  • Loading branch information
mbutrovich committed Jul 3, 2018
1 parent c9ba265 commit 3520fbb
Show file tree
Hide file tree
Showing 4 changed files with 468 additions and 211 deletions.
4 changes: 4 additions & 0 deletions src/common/container/cuckoo_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <iostream>

#include "common/container/cuckoo_map.h"
#include "common/container/lock_free_queue.h"
#include "common/internal_types.h"
#include "common/item_pointer.h"
#include "common/logger.h"
Expand Down Expand Up @@ -125,4 +126,7 @@ template class CuckooMap<std::shared_ptr<oid_t>, std::shared_ptr<oid_t>>;
// Used in StatementCacheManager
template class CuckooMap<StatementCache *, StatementCache *>;

// Used in TransactionLevelGCManager
template class CuckooMap<oid_t, std::shared_ptr<peloton::LockFreeQueue<ItemPointer>>>;

} // namespace peloton
Loading

0 comments on commit 3520fbb

Please sign in to comment.