[前][次][番号順一覧][スレッド一覧]

ruby-changes:68604

From: Alan <ko1@a...>
Date: Thu, 21 Oct 2021 08:10:32 +0900 (JST)
Subject: [ruby-changes:68604] 3c8a9da7ef (master): Bump executable memory allocation size

https://git.ruby-lang.org/ruby.git/commit/?id=3c8a9da7ef

From 3c8a9da7efef89a058f0838afae436231265cef8 Mon Sep 17 00:00:00 2001
From: Alan Wu <XrXr@u...>
Date: Mon, 5 Oct 2020 13:38:17 -0400
Subject: Bump executable memory allocation size

We run out it on CI in test-all.
---
 ujit_compile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ujit_compile.c b/ujit_compile.c
index 8a9d196b3b..2b6fad3a72 100644
--- a/ujit_compile.c
+++ b/ujit_compile.c
@@ -516,7 +516,7 @@ rb_ujit_init(void) https://github.com/ruby/ruby/blob/trunk/ujit_compile.c#L516
         return;
     }
     // Initialize the code blocks
-    size_t mem_size = 64 * 1024 * 1024;
+    size_t mem_size = 128 * 1024 * 1024;
     uint8_t* mem_block = alloc_exec_mem(mem_size);
     cb = &block;
     cb_init(cb, mem_block, mem_size/2);
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]