From a35a10bbc6a73b486aaa3960c343138842c9dc92 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Thu, 5 Dec 2019 16:33:21 +0300 Subject: [PATCH] Reduce GC region size --- core/src/main/resources/org/teavm/backend/c/memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/resources/org/teavm/backend/c/memory.h b/core/src/main/resources/org/teavm/backend/c/memory.h index 1b9116aca..55ca44e08 100644 --- a/core/src/main/resources/org/teavm/backend/c/memory.h +++ b/core/src/main/resources/org/teavm/backend/c/memory.h @@ -6,7 +6,7 @@ extern void* teavm_gc_gcStorageAddress; extern int32_t teavm_gc_gcStorageSize; extern void* teavm_gc_regionsAddress; extern void* teavm_gc_cardTable; -#define teavm_gc_regionSize INT32_C(8192) +#define teavm_gc_regionSize INT32_C(2048) extern int32_t teavm_gc_regionMaxCount; extern int64_t teavm_gc_availableBytes; extern int64_t teavm_gc_minAvailableBytes;