2020-08-17 06:39:36 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2021-10-05 07:59:56 -05:00
|
|
|
export PENPOT_FLAGS="enable-asserts enable-audit-log $PENPOT_FLAGS"
|
2021-01-29 05:00:54 -05:00
|
|
|
|
2021-12-22 05:33:53 -05:00
|
|
|
export OPTIONS="
|
|
|
|
-A:jmx-remote:dev \
|
|
|
|
-J-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager \
|
|
|
|
-J-Dlog4j2.configurationFile=log4j2-devenv.xml \
|
2021-12-27 18:04:58 -05:00
|
|
|
-J-XX:+UseZGC \
|
2021-12-22 05:33:53 -05:00
|
|
|
-J-XX:-OmitStackTraceInFastThrow \
|
2022-01-18 10:57:01 -05:00
|
|
|
-J-Xms50m -J-Xmx1024m \
|
2022-01-12 14:23:25 -05:00
|
|
|
-J-Djdk.attach.allowAttachSelf \
|
|
|
|
-J-XX:+UnlockDiagnosticVMOptions \
|
|
|
|
-J-XX:+DebugNonSafepoints";
|
|
|
|
|
2021-12-20 05:49:30 -05:00
|
|
|
|
2021-05-10 02:07:56 -05:00
|
|
|
# export OPTIONS="$OPTIONS -J-XX:+UnlockDiagnosticVMOptions";
|
|
|
|
# export OPTIONS="$OPTIONS -J-XX:-TieredCompilation -J-XX:CompileThreshold=10000";
|
2021-03-17 08:21:31 -05:00
|
|
|
|
2021-02-15 07:14:05 -05:00
|
|
|
export OPTIONS_EVAL="nil"
|
|
|
|
# export OPTIONS_EVAL="(set! *warn-on-reflection* true)"
|
|
|
|
|
2021-01-29 05:00:54 -05:00
|
|
|
set -ex
|
2021-02-15 07:14:05 -05:00
|
|
|
exec clojure $OPTIONS -M -e "$OPTIONS_EVAL" -m rebel-readline.main
|