Skip to content

Commit a40d77c

Browse files
committed
Use default Parallel GC again
Build times on Travis CI went up by up to 12min
1 parent bc23d4a commit a40d77c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

mx.graalsqueak/mx_graalsqueak.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
'-Xss64M', # Increase stack size (`-XX:ThreadStackSize=64M` not working)
1717

1818
# GARBAGE COLLECTOR (optimized for GraalSqueak image)
19-
'-XX:+UseG1GC',
2019
'-XX:OldSize=256M', # Initial tenured generation size
2120
'-XX:NewSize=1G', # Initial new generation size
2221
'-XX:MetaspaceSize=32M', # Initial size of Metaspaces
@@ -26,7 +25,6 @@
2625
'-Xss64M', # Increase stack size (`-XX:ThreadStackSize=64M` not working)
2726

2827
# GARBAGE COLLECTOR (optimized for Travis CI)
29-
'-XX:+UseG1GC',
3028
'-Xms4G', # Initial heap size
3129
'-XX:MetaspaceSize=32M', # Initial size of Metaspaces
3230
]

scripts/template.graalsqueak.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fi
2828
# Parse arguments, prepare Java command, and execute. #
2929
#######################################################################
3030
PROGRAM_ARGS="--polyglot"
31-
JAVA_ARGS="-Xss64M -XX:+UseG1GC -XX:OldSize=256M -XX:NewSize=1G -XX:MetaspaceSize=32M"
31+
JAVA_ARGS="-Xss64M -XX:OldSize=256M -XX:NewSize=1G -XX:MetaspaceSize=32M"
3232

3333
for opt in "$@"; do
3434
case $opt in

0 commit comments

Comments
 (0)