← Commit history

test: size GcChurn for the migrated stdlib; gc_check passes on shared programs

lennoxrose committed on Oct 18, 2026 at 00:49 UTC

2a78226parentd4c0a3c

2 files changed+3−3

hearth/ashvm/tests/cases/memory/GcChurn.ashmodified

+2−2
@@ -2,7 +2,7 @@ package memory;
22
33 import ash.util.ArrayList;
44
5-/// Allocates ~1.2M short-lived strings and lists. The default VM never frees them (hundreds of MB
5+/// Allocates ~1.8M short-lived strings and lists. The default VM never frees them (hundreds of MB
66 /// here); the experimental collector (make GC=1) keeps the footprint small. Output is identical.
77 class GcChurn {
88 static int churn(int n) {
@@ -23,6 +23,6 @@ class GcChurn {
2323 }
2424
2525 public static void main(String[] args) {
26- System.out.println(churn(200000));
26+ System.out.println(churn(300000));
2727 }
2828 }

hearth/ashvm/tests/cases/memory/GcChurn.outmodified

+1−1
@@ -1 +1 @@
1-200
1+300