-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.jvmopts
More file actions
23 lines (20 loc) · 636 Bytes
/
.jvmopts
File metadata and controls
23 lines (20 loc) · 636 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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
-XX:MaxInlineLevel=18
# Enable/disable compile-time check failures
-Dizumi.distage.plancheck.only-warn=false
# Enable Graal JIT
# -XX:+UnlockExperimentalVMOptions
# -XX:+EnableJVMCI
# -XX:+UseJVMCICompiler
-Xmx8G
-Xms20M
-XX:+UseG1GC
-XX:ReservedCodeCacheSize=256m
-XX:MaxMetaspaceSize=2048M
-noverify
-server
-XX:+OmitStackTraceInFastThrow
-Dsun.io.useCanonCaches=false
-XX:SoftRefLRUPolicyMSPerMB=50