-
Notifications
You must be signed in to change notification settings - Fork 1
/
clj9.bat
32 lines (23 loc) · 796 Bytes
/
clj9.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@echo off
:: palisades.lakes (at) gmail (dot) com
:: 2017-10-09
::set GC=-XX:+AggressiveHeap -XX:+UseStringDeduplication
set GC=
set COMPRESSED=
::set COMPRESSED=-XX:CompressedClassSpaceSize=3g
set TRACE=
::set TRACE=-XX:+PrintGCDetails -XX:+TraceClassUnloading -XX:+TraceClassLoading
set PROF=
::set PROF=-Xrunhprof:cpu=samples,depth=128,thread=y,doe=y
::set THRUPUT=-d64 -server -XX:+AggressiveOpts
set THRUPUT=-d64 -server
::set THRUPUT=
::set XMX=-Xms29g -Xmx29g -Xmn11g
set XMX=-Xms12g -Xmx12g -Xmn5g
set OPENS=--add-opens java.base/java.lang=ALL-UNNAMED
set CP=-cp ./src/scripts/clojure;lib/*
set JAVA_HOME=%JAVA9%
set JAVA="%JAVA_HOME%\bin\java"
set CMD=%JAVA% %THRUPUT% -ea -dsa -Xbatch %GC% %PROF% %XMX% %COMPRESSED% %TRACE% %OPENS% %CP% clojure.main %*
::echo %CMD%
%CMD%