Skip to content

Commit

Permalink
change: make threads alloc more aggressive
Browse files Browse the repository at this point in the history
  • Loading branch information
ishland committed Jan 27, 2025
1 parent 922b4fa commit 2c331e7
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@ public class ModuleEntryPoint {
1,
min(
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 )
)
(cpus / 1.6),
(cpus / 1.3)
) - if(is_client, 1, 0),
( ( mem_gb - (if(is_client, 1.0, 0.5)) ) / 0.6 )
)
)
\040""";
Expand Down

0 comments on commit 2c331e7

Please sign in to comment.