-
-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy path.jvmopts
More file actions
22 lines (19 loc) · 701 Bytes
/
.jvmopts
File metadata and controls
22 lines (19 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# this is for local development only, see .build.sh for CI settings
-Xmx16G
-XX:ReservedCodeCacheSize=384M
-XX:NonProfiledCodeHeapSize=256M
-XX:MaxMetaspaceSize=4G
-XX:+OmitStackTraceInFastThrow
-XX:SoftRefLRUPolicyMSPerMB=50
-Dsun.io.useCanonCaches=false
-server
-XX:+UseG1GC
#-XX:+UseZGC
# Bumping JIT inline-level increases performance of Scala code
# https://www.reddit.com/r/scala/comments/cigh0t/these_go_to_eighteen_c_jon_pretty/
# https://scalacenter.github.io/bloop/docs/performance-guide#tweak-the-java-jit
# https://twitter.com/leifwickland/status/1179419045055086595
-XX:MaxInlineLevel=18
# These seem to cause sbt import slowdown :\
#-XX:MaxInlineSize=270
#-XX:MaxTrivialSize=12