From 696b2a4a4deda3bce92e6b641bdd426ff9737cd4 Mon Sep 17 00:00:00 2001 From: ishland Date: Sun, 17 Nov 2024 22:21:37 +0800 Subject: [PATCH] change: adjust thread count allocation Cherry-picked from a689b1522d1a56ecb8e5e1605d7d5dd68cb8db3f --- .../src/main/java/com/ishland/c2me/base/ModuleEntryPoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c2me-base/src/main/java/com/ishland/c2me/base/ModuleEntryPoint.java b/c2me-base/src/main/java/com/ishland/c2me/base/ModuleEntryPoint.java index b7653d5e3..09de5e8d7 100644 --- a/c2me-base/src/main/java/com/ishland/c2me/base/ModuleEntryPoint.java +++ b/c2me-base/src/main/java/com/ishland/c2me/base/ModuleEntryPoint.java @@ -20,12 +20,12 @@ public class ModuleEntryPoint { if( is_windows, (cpus / 1.6 - 2), (cpus / 1.2 - 2) - ), + ) - if(is_client, 2, 0), if( is_j9vm, ( ( mem_gb - (if(is_client, 0.6, 0.2)) ) / 0.4 ), ( ( mem_gb - (if(is_client, 1.2, 0.6)) ) / 0.6 ) ) - ) - if(is_client, 2, 0) + ) ) \040""";