Switch GC to ConcMarkSweep and add other options from IDEA defaults
This commit is contained in:
@@ -155,6 +155,11 @@ projectTest(taskName = "performanceTest") {
|
|||||||
|
|
||||||
maxHeapSize = "3g"
|
maxHeapSize = "3g"
|
||||||
jvmArgs("-XX:SoftRefLRUPolicyMSPerMB=50")
|
jvmArgs("-XX:SoftRefLRUPolicyMSPerMB=50")
|
||||||
|
jvmArgs(
|
||||||
|
"-XX:ReservedCodeCacheSize=240m",
|
||||||
|
"-XX:+UseCompressedOops",
|
||||||
|
"-XX:+UseConcMarkSweepGC"
|
||||||
|
)
|
||||||
jvmArgs("-XX:+UnlockCommercialFeatures", "-XX:+FlightRecorder")
|
jvmArgs("-XX:+UnlockCommercialFeatures", "-XX:+FlightRecorder")
|
||||||
|
|
||||||
if (hasProperty("perf.flight.recorder.override")) {
|
if (hasProperty("perf.flight.recorder.override")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user