MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / pooled_stack_dealloc

Function pooled_stack_dealloc

thread/stack-allocator.cpp:160–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 return get_pooled_stack_allocator().alloc(stack_size);
159}
160void pooled_stack_dealloc(void*, void* stack_ptr, size_t stack_size) {
161 get_pooled_stack_allocator().dealloc(stack_ptr, stack_size);
162}
163
164size_t pooled_stack_trim_current_vcpu(size_t keep_size) {
165 return get_pooled_stack_allocator().trim(keep_size);

Callers

nothing calls this directly

Calls 1

deallocMethod · 0.45

Tested by

no test coverage detected