diff --git a/xo-alloc2/docs/implementation.rst b/xo-alloc2/docs/implementation.rst index d0d48127..deb79e8f 100644 --- a/xo-alloc2/docs/implementation.rst +++ b/xo-alloc2/docs/implementation.rst @@ -24,8 +24,7 @@ Abstraction tower for *xo-alloc2* components | IAllocator_DArena | +--------------------------------+ | IAllocator_Xfer | - +--------------------------------+ - | IAllocator_ImplType | + | IAllocator_Any | +--------------+-----------------+ | | DArena | | AAllocator +-----------------+ diff --git a/xo-alloc2/docs/index.rst b/xo-alloc2/docs/index.rst index aedc0ba5..5c666a37 100644 --- a/xo-alloc2/docs/index.rst +++ b/xo-alloc2/docs/index.rst @@ -5,13 +5,11 @@ xo-alloc2 documentation xo-alloc2 is intended to provide fast vm-aware arena allocation. Next-generation version of xo-alloc. -At present (Dec 2025) xo-alloc is fully functional, -while xo-alloc2 is aspirational. Features: * allocates uncommitted virtual memory, and commits on demand. -* ses THP (Transparent Huge Pages) when available. +* uses THP (Transparent Huge Pages) when available. Implemented using FOMO (faceted rust-like object model) from xo-facet diff --git a/xo-gc/include/xo/gc/gcobject/AGCObject.hpp b/xo-gc/include/xo/gc/AGCObject.hpp similarity index 100% rename from xo-gc/include/xo/gc/gcobject/AGCObject.hpp rename to xo-gc/include/xo/gc/AGCObject.hpp diff --git a/xo-gc/include/xo/gc/GCObject.hpp b/xo-gc/include/xo/gc/GCObject.hpp index edc89c32..524002a4 100644 --- a/xo-gc/include/xo/gc/GCObject.hpp +++ b/xo-gc/include/xo/gc/GCObject.hpp @@ -5,9 +5,9 @@ #pragma once -#include "gcobject/AGCObject.hpp" -#include "gcobject/IGCObject_Any.hpp" -#include "gcobject/IGCObject_Xfer.hpp" -#include "gcobject/RGCObject.hpp" +#include "AGCObject.hpp" +#include "detail/IGCObject_Any.hpp" +#include "detail/IGCObject_Xfer.hpp" +#include "detail/RGCObject.hpp" /* end GCObject.hpp */ diff --git a/xo-gc/include/xo/gc/detail/ACollector.hpp b/xo-gc/include/xo/gc/detail/ACollector.hpp index 9c32125d..d0d34bd7 100644 --- a/xo-gc/include/xo/gc/detail/ACollector.hpp +++ b/xo-gc/include/xo/gc/detail/ACollector.hpp @@ -5,7 +5,7 @@ #pragma once -#include "gcobject/IGCObject_Any.hpp" +#include "IGCObject_Any.hpp" #include #include @@ -34,9 +34,12 @@ namespace xo { virtual int32_t _typeseq() const noexcept = 0; - virtual size_type allocated(Copaque d, generation g, role r) const noexcept = 0; - virtual size_type reserved(Copaque d, generation g, role r) const noexcept = 0; - virtual size_type committed(Copaque d, generation g, role r) const noexcept = 0; + virtual size_type allocated(Copaque d, + generation g, role r) const noexcept = 0; + virtual size_type reserved(Copaque d, + generation g, role r) const noexcept = 0; + virtual size_type committed(Copaque d, + generation g, role r) const noexcept = 0; /** install interface @p iface for representation with typeseq @p tseq * in collector @p d. diff --git a/xo-gc/include/xo/gc/gcobject/IGCObject_Any.hpp b/xo-gc/include/xo/gc/detail/IGCObject_Any.hpp similarity index 100% rename from xo-gc/include/xo/gc/gcobject/IGCObject_Any.hpp rename to xo-gc/include/xo/gc/detail/IGCObject_Any.hpp diff --git a/xo-gc/include/xo/gc/gcobject/IGCObject_Xfer.hpp b/xo-gc/include/xo/gc/detail/IGCObject_Xfer.hpp similarity index 100% rename from xo-gc/include/xo/gc/gcobject/IGCObject_Xfer.hpp rename to xo-gc/include/xo/gc/detail/IGCObject_Xfer.hpp diff --git a/xo-gc/include/xo/gc/gcobject/RGCObject.hpp b/xo-gc/include/xo/gc/detail/RGCObject.hpp similarity index 100% rename from xo-gc/include/xo/gc/gcobject/RGCObject.hpp rename to xo-gc/include/xo/gc/detail/RGCObject.hpp diff --git a/xo-gc/src/gc/IGCObject_Any.cpp b/xo-gc/src/gc/IGCObject_Any.cpp index 22e1cf48..0de21224 100644 --- a/xo-gc/src/gc/IGCObject_Any.cpp +++ b/xo-gc/src/gc/IGCObject_Any.cpp @@ -3,7 +3,7 @@ * @author Roland Conybeare, Dec 2025 **/ -#include "gcobject/IGCObject_Any.hpp" +#include "detail/IGCObject_Any.hpp" #include namespace xo { diff --git a/xo-object2/include/xo/object2/IGCObject_DFloat.hpp b/xo-object2/include/xo/object2/IGCObject_DFloat.hpp index b00873c8..1916f7e2 100644 --- a/xo-object2/include/xo/object2/IGCObject_DFloat.hpp +++ b/xo-object2/include/xo/object2/IGCObject_DFloat.hpp @@ -6,8 +6,8 @@ #pragma once #include -#include -#include +#include +#include #include "DFloat.hpp" namespace xo { diff --git a/xo-object2/include/xo/object2/IGCObject_DInteger.hpp b/xo-object2/include/xo/object2/IGCObject_DInteger.hpp index 858856b9..69620b57 100644 --- a/xo-object2/include/xo/object2/IGCObject_DInteger.hpp +++ b/xo-object2/include/xo/object2/IGCObject_DInteger.hpp @@ -6,8 +6,8 @@ #pragma once #include "xo/alloc2/alloc/AAllocator.hpp" -#include -#include +#include +#include #include "DInteger.hpp" namespace xo { diff --git a/xo-object2/include/xo/object2/IGCObject_DList.hpp b/xo-object2/include/xo/object2/IGCObject_DList.hpp index b4f47c8e..927feb74 100644 --- a/xo-object2/include/xo/object2/IGCObject_DList.hpp +++ b/xo-object2/include/xo/object2/IGCObject_DList.hpp @@ -8,8 +8,8 @@ #include #include #include -#include -#include +#include +#include #include "DList.hpp" namespace xo { diff --git a/xo-tokenizer/docs/implementation.rst b/xo-tokenizer/docs/implementation.rst index 3f617e4d..1063f4fa 100644 --- a/xo-tokenizer/docs/implementation.rst +++ b/xo-tokenizer/docs/implementation.rst @@ -11,7 +11,7 @@ Library dependency tower for *xo-tokenizer*: .. ditaa:: +-----------------+ - | xo_unit | + | xo_tokenizer | +-----------------+ | xo_indentlog | +-----------------+