xo-umbrella2/xo-alloc
Roland Conybeare a095a49bb0
All checks were successful
cmake-docker / cmake-build (clang, clang++) (push) Successful in 23m28s
cmake-docker / cmake-build (gcc, g++) (push) Successful in 24m51s
CI / smoke-test (push) Successful in 44m4s
refactoring _ostream.hpp _pp.hpp vs ODR [REFACTOR]
2026-08-17 00:38:44 -04:00
..
cmake xo-reflect: use xo-indentlog2 tostr() [REFACTOR] [WIP] 2026-08-15 23:42:38 -04:00
docs git subrepo clone git@github.com:Rconybea/xo-alloc.git xo-alloc 2026-06-06 22:03:21 -04:00
include/xo/alloc xo-alloc; upgrade to xo-indentlog2 tostr() [WIP] [REFACTOR] 2026-08-15 22:35:30 -04:00
src/alloc refactoring _ostream.hpp _pp.hpp vs ODR [REFACTOR] 2026-08-17 00:38:44 -04:00
utest xo-alloc; upgrade to xo-indentlog2 tostr() [WIP] [REFACTOR] 2026-08-15 22:35:30 -04:00
.gitrepo git subrepo clone git@github.com:Rconybea/xo-alloc.git xo-alloc 2026-06-06 22:03:21 -04:00
CMakeLists.txt git subrepo clone git@github.com:Rconybea/xo-alloc.git xo-alloc 2026-06-06 22:03:21 -04:00
README.md git subrepo clone git@github.com:Rconybea/xo-alloc.git xo-alloc 2026-06-06 22:03:21 -04:00

xo-alloc -- arena allocator and incremental garbage collector

Rules for writing garbage-collected classes.

Topics

  • allocation - allocate Objects (inheriting xo::Object) before owned scratch space. Can relax this if/when abandon the bad-for-locality use of two pointers into to-space to keep track of grey objects. Want to use stack anyway so we can do depth-first search.
  • destructors - can omit except for finalization
  • assignment - MUST USE Object::assign_member() to assign pointers to gc-owned memory. Only necessary for old->new pointers, so don't need to worry about this for initialization.
  • finalization - not supported (yet)
  • padding - use IAlloc::with_padding(z) for hand-allocated objects.