ywkaras opened a new issue #8535:
URL: https://github.com/apache/trafficserver/issues/8535


   This would only be used in test builds.  The test builds could be run in a 
production environment, but with some perf degradation.
   
   The tool would provide a "private" heap for dynamic memory allocation from a 
contiguous, page-aligned range.  The test build would require changes to 
allocate the heap objects to be monitored from this private heap.  All entry 
point functions to this tool would have to take a single common mutex (slow).  
The heap could be implemented with:  
https://github.com/wkaras/heap-memory-manager .  The heap's memory pages would 
be read-only by default.  "alloc" and "free" calls would make the whole heap 
writable.  For non-error writes, it would be necessary to call a function to 
enable, then disable, writing to the page(s) containing the variable(s) to be 
written.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to