Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/msvc
diff options
context:
space:
mode:
authorMike Voorhees <mrvoorhe@users.noreply.github.com>2016-12-01 00:40:19 +0300
committerZoltan Varga <vargaz@gmail.com>2016-12-01 00:40:19 +0300
commitfd36291a489d93dff674fce79e03c83dc239ed64 (patch)
tree4f167e3d417cbdc5ab41f3879caae7a8cf700c8b /msvc
parent5b386e6b28f247a582e6f898c75a177814bfd373 (diff)
Only allocate 1 empty string instance per AppDomain (#4047)
* Reuse a single empty string instance * Undo string empty change to mono_string_new_size_checked and add new embedding api for string empty instead
Diffstat (limited to 'msvc')
-rw-r--r--msvc/mono.def2
-rw-r--r--msvc/monosgen.def2
2 files changed, 4 insertions, 0 deletions
diff --git a/msvc/mono.def b/msvc/mono.def
index f5a0e9ab98a..83431ecc0e6 100644
--- a/msvc/mono.def
+++ b/msvc/mono.def
@@ -824,6 +824,8 @@ mono_string_hash
mono_string_intern
mono_string_is_interned
mono_string_length
+mono_string_empty
+mono_string_empty_wrapper
mono_string_new
mono_string_new_len
mono_string_new_size
diff --git a/msvc/monosgen.def b/msvc/monosgen.def
index 1722591c2f3..9aeb6f7e10b 100644
--- a/msvc/monosgen.def
+++ b/msvc/monosgen.def
@@ -826,6 +826,8 @@ mono_string_hash
mono_string_intern
mono_string_is_interned
mono_string_length
+mono_string_empty
+mono_string_empty_wrapper
mono_string_new
mono_string_new_len
mono_string_new_size