diff options
author | Jan Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-10 01:11:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-10 01:11:22 -0500 |
commit | d743136c6b98fa91f501cc15dc47530f8f93b8fe (patch) | |
tree | aedb9af30e41f056aea148cc9e3b37d17327ca54 /cbt | |
parent | e2cb8726735ba306ade3befefae3b87549b52c9f (diff) | |
parent | f5e653e033e468c58e8a832e0dce3a7020a66ce4 (diff) | |
download | cbt-d743136c6b98fa91f501cc15dc47530f8f93b8fe.tar.gz cbt-d743136c6b98fa91f501cc15dc47530f8f93b8fe.tar.bz2 cbt-d743136c6b98fa91f501cc15dc47530f8f93b8fe.zip |
Merge pull request #314 from cvogt/fix-update-bugs
better caching and change propagation fixing link-time errors
Diffstat (limited to 'cbt')
-rwxr-xr-x | cbt | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -113,9 +113,13 @@ mkdir -p $NAILGUN$TARGET nailgun_out=$NAILGUN/target/nailgun.stdout.log nailgun_err=$NAILGUN/target/nailgun.strerr.log +DEBUG="" foo(){ while test $# -gt 0; do case "$1" in + "-debug") + DEBUG="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005" + ;; "-Dlog=nailgun") nailgun_out=/dev/stderr nailgun_err=/dev/stderr @@ -193,9 +197,8 @@ stage1 () { if [ $use_nailgun -eq 1 ] then log "Running JVM directly" "$@" - # -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=localhost:5005 # JVM options to improve startup time. See https://github.com/cvogt/cbt/pull/262 - java $JAVA_OPTS -Xmx6072m -Xss10M -XX:MaxJavaStackTraceDepth=-1 -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xverify:none -cp $NAILGUN$TARGET cbt.NailgunLauncher $(time_taken) "$CWD" "$@" + java $JAVA_OPTS $DEBUG -Xmx6072m -Xss10M -XX:MaxJavaStackTraceDepth=-1 -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 |