server-skynet-source-3rd-je.../test
Qi Wang 9a86c65abc Implement retain on Windows.
The VirtualAlloc and VirtualFree APIs are different because MEM_DECOMMIT cannot
be used across multiple VirtualAlloc regions.  To properly support decommit,
only allow merge / split within the same region -- this is done by tracking the
"is_head" state of extents and not merging cross-region.

Add a new state is_head (only relevant for retain && !maps_coalesce), which is
true for the first extent in each VirtualAlloc region.  Determine if two extents
can be merged based on the head state, and use serial numbers for sanity checks.
2019-07-23 22:18:55 -07:00
..
include/test Deprecate OSSpinLock. 2018-11-14 08:44:05 -08:00
integration Fix posix_memalign with input size 0. 2019-07-18 00:43:23 -07:00
src Deprecate OSSpinLock. 2018-11-14 08:44:05 -08:00
stress Add hook microbenchmark. 2018-08-09 13:16:54 -07:00
unit Implement retain on Windows. 2019-07-23 22:18:55 -07:00
test.sh.in Output MALLOC_CONF and debug cmd when test failure happens. 2017-04-21 22:52:02 -07:00