From e9a5bea66eb7c55ca3b58caccd64e476f80751a7 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sat, 25 Apr 2026 20:32:29 -0400 Subject: [PATCH] xo-gc: minor debug output --- xo-gc/src/gc/GCObjectStore.cpp | 3 ++- xo-gc/utest/MutationLogStore.test.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/xo-gc/src/gc/GCObjectStore.cpp b/xo-gc/src/gc/GCObjectStore.cpp index f8e8c479..830fdb43 100644 --- a/xo-gc/src/gc/GCObjectStore.cpp +++ b/xo-gc/src/gc/GCObjectStore.cpp @@ -794,7 +794,8 @@ namespace xo { GCObjectStore::install_type(const AGCObject & meta) noexcept { scope log(XO_DEBUG(config_.debug_flag_), - xtag("tseq", meta._typeseq())); + xtag("tseq", meta._typeseq()), + xtag("tname", TypeRegistry::id2name(meta._typeseq()))); typeseq tseq = meta._typeseq(); diff --git a/xo-gc/utest/MutationLogStore.test.cpp b/xo-gc/utest/MutationLogStore.test.cpp index 3546ba44..40e5f25e 100644 --- a/xo-gc/utest/MutationLogStore.test.cpp +++ b/xo-gc/utest/MutationLogStore.test.cpp @@ -286,7 +286,8 @@ namespace ut { {Cmd::assign_root, 2, 0}, // [2] = [0] = 99 - // o.g. [2] now garbage + // phase 3 gc (4th gc) + // o.g. o.g. [2] would be garbage, if we collected g1 // ----- phase 4 -----