xo-gc stack: refactor + streamline.

Retiring unused Collector typealiases.
Fix #include topology.
Fix/improve write barrier setup.
This commit is contained in:
Roland Conybeare 2026-05-02 13:49:29 -04:00
commit b1d2ae6f19
17 changed files with 130 additions and 94 deletions

View file

@ -9,12 +9,19 @@
* [iface_facet_any.hpp.j2]
* 3. idl for facet methods
* [idl/GCObject.json5]
*
* variables:
* {facet_hpp_fname} -> GCObject.hpp
* {impl_hpp_subdir} -> gc
* {facet_ns1} -> xo
* {facet_detail_subdir} -> gc
* {abstract_facet_fname} -> AGCObject.hpp
**/
#pragma once
#include "AGCObject.hpp"
#include <xo/alloc2/Allocator_basic.hpp>
#include <xo/alloc2/Collector.hpp>
#include <xo/alloc2/GCObjectVisitor.hpp>
#include <cstdint>
#include <cstddef>
@ -34,7 +41,6 @@ namespace mm {
using typeseq = AGCObject::typeseq;
using size_type = AGCObject::size_type;
using AAllocator = AGCObject::AAllocator;
using ACollector = AGCObject::ACollector;
using AGCObjectVisitor = AGCObject::AGCObjectVisitor;
using VisitReason = AGCObject::VisitReason;
///@}