vibe.d beta banner
get vibe.d
0.7.30

Module vibe.utils.memory

Utility functions for memory management

Note that this module currently is a big sand box for testing allocation related stuff. Nothing here, including the interfaces, is final but rather a lot of experimentation.

Functions

Name Description
allocArray
allocObject
defaultAllocator
freeArray
manualAllocator
threadLocalAllocator
threadLocalManualAllocator

Interfaces

Name Description
Allocator

Classes

Name Description
AutoFreeListAllocator
DebugAllocator
FreeListAlloc
GCAllocator
LockAllocator Simple proxy allocator protecting its base allocator with a mutex.
MallocAllocator
PoolAllocator

Structs

Name Description
FreeListObjectAlloc
FreeListRef

Templates

Name Description
AllocSize
Authors

Sönke Ludwig

Copyright

© 2012-2013 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.