[runtime] Convert String.InternalSetLength to an icall. Needed for canary support.
authorAlexis Christoforides <alexis@thenull.net>
Mon, 6 Oct 2014 05:21:15 +0000 (22:21 -0700)
committerAlexis Christoforides <alexis@thenull.net>
Mon, 6 Oct 2014 05:21:15 +0000 (22:21 -0700)
commit84110040aac8c8999a9c510e418ec8cec1234a81
treebed8765764ad0c0d3ea219889bd314b997a0e567
parentd8ae2993ef317a9b609b3910fb6a3a62a98b43a1
[runtime] Convert String.InternalSetLength to an icall. Needed for canary support.
The change does not have a negative impact on StringBuilder performance; under variable-string-length microbenchmarks it seems to perform ~15-20% faster than the managed implementation.
mcs/class/corlib/System/String.cs
mono/metadata/boehm-gc.c
mono/metadata/gc-internal.h
mono/metadata/icall-def.h
mono/metadata/sgen-gc.c
mono/metadata/string-icalls.c
mono/metadata/string-icalls.h