[w32handle] Lower minimum memory usage (2nd attempt) (#7508)
commitdde9ee5e79e756212625dc995ea5d2c0d479e372
authorLudovic Henry <luhenry@microsoft.com>
Sat, 24 Mar 2018 03:00:50 +0000 (23 23:00 -0400)
committerGitHub <noreply@github.com>
Sat, 24 Mar 2018 03:00:50 +0000 (23 23:00 -0400)
tree9054523398a0b718ccdfa4b28a65dc5276990740
parent30903764c24d5e84fae77e2eeff695ef703cca7a
[w32handle] Lower minimum memory usage (2nd attempt) (#7508)

Adopts a linked list of MonoW32HandleSlot (based on feedback from Rolf Kvinge). This allows for an unlimited amount of handles to be allocated, as well as for a lower cost to allocate only 1 handle across the process.

Fixes https://github.com/mono/mono/issues/7460
mono/metadata/w32handle.c