diff options
author | Vlad Brezae <brezaevlad@gmail.com> | 2016-01-22 03:08:06 +0300 |
---|---|---|
committer | Vlad Brezae <brezaevlad@gmail.com> | 2016-03-25 03:12:56 +0300 |
commit | 33beedda93f8da968df431e0f17ebe99d8d65fb2 (patch) | |
tree | 214fdc5401158ca2b4d0dc3181f58f67b2e3a175 /msvc/libmonoruntime.vcxproj | |
parent | 32ec26d7f48ecf417b9076c0105970c96588b905 (diff) |
[sgen] Extract the handle array code for reuse
We add a new data structure which contains a bucket of entries, exponentially increasing in sizes. The structure is customizable through a few callbacks.
Setting is_slot_set_func enables us to also lookup empty slots, instead of only adding entries at the end of the list.
Setting set_slot_func enables the use of a customized function for setting the slot. If this function is not set, the slots and array fields will be set directly, therefore the structure won't be thread safe.
Diffstat (limited to 'msvc/libmonoruntime.vcxproj')
-rw-r--r-- | msvc/libmonoruntime.vcxproj | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/msvc/libmonoruntime.vcxproj b/msvc/libmonoruntime.vcxproj index 258f984d8e3..8bcf5315282 100644 --- a/msvc/libmonoruntime.vcxproj +++ b/msvc/libmonoruntime.vcxproj @@ -116,6 +116,7 @@ <ClCompile Include="..\mono\sgen\sgen-pinning-stats.c" />
<ClCompile Include="..\mono\sgen\sgen-pinning.c" />
<ClCompile Include="..\mono\sgen\sgen-pointer-queue.c" />
+ <ClCompile Include="..\mono\sgen\sgen-array-list.c" />
<ClCompile Include="..\mono\sgen\sgen-protocol.c" />
<ClCompile Include="..\mono\sgen\sgen-qsort.c" />
<ClCompile Include="..\mono\sgen\sgen-simple-nursery.c" />
@@ -479,4 +480,4 @@ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
-</Project>
\ No newline at end of file +</Project>
|