Arena debug visualization

This commit is contained in:
2025-08-15 10:47:40 -04:00
parent 0b9bd2e819
commit 28fa96011f
4 changed files with 418 additions and 11 deletions

View File

@@ -276,6 +276,12 @@ public:
*/
size_t used_bytes() const { return arena_.used_bytes(); }
/**
* @brief Get access to the underlying arena allocator for debugging.
* @return Reference to the arena allocator
*/
const ArenaAllocator &arena() const { return arena_; }
/**
* @brief Reset the commit request for reuse.
*/