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

Function pooled_stack_trim_current_vcpu

thread/stack-allocator.cpp:164–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164size_t pooled_stack_trim_current_vcpu(size_t keep_size) {
165 return get_pooled_stack_allocator().trim(keep_size);
166}
167
168size_t pooled_stack_trim_threshold(size_t x) {
169 return get_pooled_stack_allocator().threshold(x);

Callers

nothing calls this directly

Calls 1

trimMethod · 0.45

Tested by

no test coverage detected