Skip to content

Commit e8c78c4

Browse files
committed
Cherry-pick GC fixes from cmu-db#1349, second part. Compiles. Need to bring in tests.
1 parent 0343478 commit e8c78c4

File tree

4 files changed

+468
-211
lines changed

4 files changed

+468
-211
lines changed

src/common/container/cuckoo_map.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <iostream>
1515

1616
#include "common/container/cuckoo_map.h"
17+
#include "common/container/lock_free_queue.h"
1718
#include "common/internal_types.h"
1819
#include "common/item_pointer.h"
1920
#include "common/logger.h"
@@ -125,4 +126,7 @@ template class CuckooMap<std::shared_ptr<oid_t>, std::shared_ptr<oid_t>>;
125126
// Used in StatementCacheManager
126127
template class CuckooMap<StatementCache *, StatementCache *>;
127128

129+
// Used in TransactionLevelGCManager
130+
template class CuckooMap<oid_t, std::shared_ptr<peloton::LockFreeQueue<ItemPointer>>>;
131+
128132
} // namespace peloton

0 commit comments

Comments
 (0)