SHA256
1
0
forked from pool/mono-core
mono-core/amd64-tramp-size.patch

23 lines
773 B
Diff

From acdcee6a43f762edcd3cd295cd4225d8c2b949d1 Mon Sep 17 00:00:00 2001
From: Zoltan Varga <vargaz@gmail.com>
Date: Tue, 31 Mar 2015 18:36:11 -0400
Subject: [PATCH] [jit] Increase some trampoline sizes.
---
mono/mini/tramp-amd64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mono/mini/tramp-amd64.c b/mono/mini/tramp-amd64.c
index 526ba98..0c7f8b2 100755
--- a/mono/mini/tramp-amd64.c
+++ b/mono/mini/tramp-amd64.c
@@ -983,7 +983,7 @@ mono_arch_create_monitor_enter_trampoline (MonoTrampInfo **info, gboolean is_v4,
status_offset = MONO_THREADS_SYNC_MEMBER_OFFSET (status_offset);
nest_offset = MONO_THREADS_SYNC_MEMBER_OFFSET (nest_offset);
- tramp_size = 96;
+ tramp_size = 128;
code = buf = mono_global_codeman_reserve (tramp_size);