Every time the cygheap is initialized, that is, on each fork
or exec, cygheap_init() *again* computes the bucket size values
and stores them in the cgyheap, albeit they are always the
same values anyway.
Make bucket_val a local const array, statically initialized
instead.
Fixes:
|
||
|---|---|---|
| .. | ||
| cygheap.cc | ||
| heap.cc | ||
| malloc.cc | ||
| malloc_wrapper.cc | ||
| mmap.cc | ||
| mmap_alloc.cc | ||
| shared.cc | ||