run.sh (468B)
1 #!/bin/sh 2 3 # we need to limit the number of threads that the Java runtime creates by 4 # default to fit into the default thread limit (4 threads). the minimum hit 5 # with the current options is 10 threads, but during loading of the jar 6 # file we can hit up to 16 threads 7 JVM_OPTS=" 8 -XX:CICompilerCount=2 9 -XX:+UnlockExperimentalVMOptions 10 -XX:+UseSerialGC 11 -XX:+ReduceSignalUsage 12 -XX:+DisableAttachMechanism 13 " 14 15 exec java ${JVM_OPTS} -jar $(dirname $0)/bin/agent.jar $@