aboutsummaryrefslogtreecommitdiff
path: root/cbt
diff options
context:
space:
mode:
Diffstat (limited to 'cbt')
-rwxr-xr-xcbt3
1 files changed, 2 insertions, 1 deletions
diff --git a/cbt b/cbt
index 91c24ab..47e41cd 100755
--- a/cbt
+++ b/cbt
@@ -194,7 +194,8 @@ stage1 () {
then
log "Running JVM directly" $*
# -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=localhost:5005
- java $JAVA_OPTS -Xmx6072m -Xss10M -cp $NAILGUN$TARGET cbt.NailgunLauncher $(time_taken) "$CWD" $*
+ # JVM options to improve startup time. See https://github.com/cvogt/cbt/pull/262
+ java $JAVA_OPTS -Xmx6072m -Xss10M -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xverify:none -cp $NAILGUN$TARGET cbt.NailgunLauncher $(time_taken) "$CWD" $*
else
log "Running via background process (nailgun)" $*
for i in 0 1 2 3 4 5 6 7 8 9; do