newlib-cygwin/winsup/cygwin/mm
Corinna Vinschen 3e80956d63 Cygwin: cygheap: make bucket_val a static const array
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: 61522196c7 ("* Merge in cygwin-64bit-branch.)"
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2022-10-28 17:02:05 +02:00
..
cygheap.cc Cygwin: cygheap: make bucket_val a static const array 2022-10-28 17:02:05 +02:00
heap.cc Cygwin: add memory_layout.h 2022-10-28 16:26:53 +02:00
malloc.cc
malloc_wrapper.cc Cygwin: mm/malloc_wrapper.cc: fix a comment 2022-08-10 18:05:12 +02:00
mmap.cc Cygwin: mmap: use SRWLOCK instead of muto 2022-08-23 12:09:44 +02:00
mmap_alloc.cc
shared.cc Cygwin: decouple shared mem regions from Cygwin DLL 2022-10-28 16:26:53 +02:00