Last active
March 26, 2020 06:41
-
-
Save Cat7373/37b8cc607f49ba462fa7d5d3efb8d715 to your computer and use it in GitHub Desktop.
IDEA custom VM args
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-Xms128m | |
# -Xmx1024m | |
-XX:ReservedCodeCacheSize=240m | |
# -XX:+UseConcMarkSweepGC | |
-XX:SoftRefLRUPolicyMSPerMB=50 | |
-ea | |
-XX:CICompilerCount=2 | |
-Dsun.io.useCanonPrefixCache=false | |
-Djava.net.preferIPv4Stack=true | |
-Djdk.http.auth.tunneling.disabledSchemes="" | |
-XX:+HeapDumpOnOutOfMemoryError | |
-XX:-OmitStackTraceInFastThrow | |
-Djdk.attach.allowAttachSelf=true | |
-Dkotlinx.coroutines.debug=off | |
-Djdk.module.illegalAccess.silent=true | |
-XX:+UseCompressedOops | |
-Dfile.encoding=UTF-8 | |
-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log | |
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof | |
-Dide.no.platform.update=true | |
### Custom ### | |
-Xmx1536m | |
-Xverify:none | |
-XX:+UnlockExperimentalVMOptions | |
# 启用 Graal C2 编译器(实验性) | |
-XX:+EnableJVMCI | |
-XX:+UseJVMCICompiler | |
# G1GC | |
-XX:+UseG1GC | |
-XX:MaxGCPauseMillis=100 | |
-XX:TargetSurvivorRatio=80 | |
-XX:+UseStringDeduplication | |
# -XX:+AggressiveOpts | |
# -XX:+AlwaysPreTouch | |
# Code Cache 满时自动清理较旧的缓存 | |
-XX:+UseCodeCacheFlushing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment