You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/06/28 23:14:03 UTC
[GitHub] [trafficserver] masaori335 edited a comment on pull request #6954: Assert non-zero HdrHeap object size
masaori335 edited a comment on pull request #6954:
URL: https://github.com/apache/trafficserver/pull/6954#issuecomment-650835323
It's the same as my understanding.
1. When `HdrHeap::allocate_obj()` allocates `HdrHeapObjImpl`, the `m_length` is more than 0.
2. When `HdrHeap::deallocate_obj()` deallocates `HdrHeapObjImpl`, it just set `m_type` `HDR_HEAP_OBJ_EMPTY`and keeps the `m_length`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org