forked from overtone/overtone
/
project.clj
39 lines (39 loc) · 2.18 KB
/
project.clj
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
33
34
35
36
37
38
39
(defproject overtone "0.7.0-SNAPSHOT"
:description "Programmable Music."
:url "http://project-overtone.org"
:dependencies [[org.clojure/clojure "1.3.0"]
[org.clojure/core.incubator "0.1.0"]
[org.clojure/data.json "0.1.2"]
[overtone/scsynth-jna "0.1.2-SNAPSHOT"]
[overtone/at-at "1.0.0"]
[overtone/osc-clj "0.7.1"]
[overtone/byte-spec "0.3.1"]
[overtone/midi-clj "0.4.0"]
[overtone/libs.handlers "0.2.0-SNAPSHOT"]
[clj-glob "1.0.0"]
[org.clojure/core.match "0.2.0-alpha9"]
[seesaw "1.4.0"]]
:jvm-opts
["-Xms512m" "-Xmx1g" ; Minimum and maximum sizes of the heap
"-XX:+UseParNewGC" ; Use the new parallel GC in conjunction with
"-XX:+UseConcMarkSweepGC" ; the concurrent garbage collector
"-XX:ConcGCThreads=2" ; Use 2 threads with concurrent gc collections
"-XX:+CMSConcurrentMTEnabled" ; Enable multi-threaded concurrent gc work (ParNewGC)
"-XX:MaxGCPauseMillis=20" ; Specify a target of 20ms for max gc pauses
"-XX:+CMSIncrementalMode" ; Do many small GC cycles to minimize pauses
"-XX:MaxNewSize=257m" ; Specify the max and min size of the new
"-XX:NewSize=256m" ; generation to be small
"-XX:+UseTLAB" ; Uses thread-local object allocation blocks. This
; improves concurrency by reducing contention on
; the shared heap lock.
"-XX:MaxTenuringThreshold=0" ; Makes the full NewSize available to every NewGC
; cycle, and reduces the pause time by not
; evaluating tenured objects. Technically, this
; setting promotes all live objects to the older
; generation, rather than copying them.
; "-XX:CompileThreshold=1" ; JIT each function after one execution
; "-XX:+PrintGC" ; Print GC info to stdout
; "-XX:+PrintGCDetails" ; - with details
; "-XX:+PrintGCTimeStamps" ; - and timestamps
]
)