aboutsummaryrefslogtreecommitdiff
path: root/zenstore
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-10-19 22:42:16 +0200
committerStefan Boberg <[email protected]>2021-10-19 22:42:16 +0200
commit9ab2d9a0126921e6a54e79432386cd6e7aeed6d3 (patch)
treec808e29c5068e2896467a4ffb048e0ba1b3e4764 /zenstore
parentcore: Enable warning C4668 again (unsure why it went missing) (diff)
downloadzen-9ab2d9a0126921e6a54e79432386cd6e7aeed6d3.tar.xz
zen-9ab2d9a0126921e6a54e79432386cd6e7aeed6d3.zip
gc: comment
Diffstat (limited to 'zenstore')
-rw-r--r--zenstore/include/zenstore/gc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/zenstore/include/zenstore/gc.h b/zenstore/include/zenstore/gc.h
index 70d48722b..942355293 100644
--- a/zenstore/include/zenstore/gc.h
+++ b/zenstore/include/zenstore/gc.h
@@ -33,6 +33,15 @@ private:
std::unique_ptr<GcState> m_State;
};
+
+/** GC root contributor
+
+ Higher level data structures provide roots for the garbage collector,
+ which ultimately determine what is garbage and what data we need to
+ retain.
+
+ */
+
class GcContributor
{
public: