mirror of
https://review.haiku-os.org/haiku
synced 2025-01-20 05:21:28 +01:00
5cbe06f482
This allows to use the debug features of the guarded heap also on allocations made through the object cache API. This is obivously horrible for performance and uses up huge amounts of memory, so the initial and grow sizes are adjusted accordingly. Note that this is a rather simple hack, using the object_cache pointer to transport the allocation size. The alignment is neglected completely.