xo-object2: type registration + gc fixes

This commit is contained in:
Roland Conybeare 2026-01-02 09:53:23 -05:00
commit a136241fbb

View file

@ -24,6 +24,9 @@ namespace xo {
size_t align_z,
bool enable_hugepage_flag) -> range_type
{
scope log(XO_DEBUG(true),
xtag("req_z", req_z), xtag("align_z", align_z));
// 1. round up to multiple of align_z
size_t target_z = padding::with_padding(req_z, align_z); // 4.