bonefish+mmlr:
* Introduce "paranoid" malloc/free into the slab allocator (initializing allocated memory to 0xcc and setting freed memory to 0xdeadbeef). * Allow for optional stack traces for slab object cache tracing. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43046 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -45,6 +45,10 @@ void object_depot_store(object_depot* depot, void* object, uint32 flags);
|
||||
|
||||
void object_depot_make_empty(object_depot* depot, uint32 flags);
|
||||
|
||||
#if PARANOID_KERNEL_FREE
|
||||
bool object_depot_contains_object(object_depot* depot, void* object);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user