class Owner

Defined at line 29 of file ../../src/sysmem/server/memory_allocator.h

Some sub-classes take this interface as a constructor param, which

enables a fake in tests where we don't have a real zx::bti etc.

Public Methods

void CheckForUnbind ()

Should be called after every delete that makes the allocator empty.

Defined at line 35 of file ../../src/sysmem/server/memory_allocator.h

inspect::Node * heap_node ()
const zx::bti & bti ()
zx::result<zx::vmo> CreatePhysicalVmo (uint64_t base, uint64_t size)
std::optional<SnapshotAnnotationRegister> & snapshot_annotation_register ()
SysmemMetrics & metrics ()
protected_ranges::ProtectedRangesCoreControl & protected_ranges_core_control (const fuchsia_sysmem2::Heap & heap)

Defined at line 39 of file ../../src/sysmem/server/memory_allocator.h

bool protected_ranges_disable_dynamic ()

Defined at line 44 of file ../../src/sysmem/server/memory_allocator.h

void OnAllocationFailure ()

Defined at line 45 of file ../../src/sysmem/server/memory_allocator.h