File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -104,17 +104,15 @@ subprojects {
104104 main = ' org.openjdk.jmh.Main'
105105 classpath = sourceSets. perf. runtimeClasspath + sourceSets. main. output
106106 maxHeapSize = " 512m"
107-
107+ jvmArgs ' -XX:+UnlockCommercialFeatures'
108+ jvmArgs ' -XX:+FlightRecorder'
109+
108110 if (project. hasProperty(' jmh' )) {
109111 args(jmh. split(' ' ))
110112 } else {
111113 // args '-h' // help output
112114 args ' -f' // fork
113115 args ' 1'
114- args ' -tu' // time unit
115- args ' ns'
116- args ' -bm' // benchmark mode
117- args ' avgt'
118116 args ' -wi' // warmup iterations
119117 args ' 5'
120118 args ' -i' // test iterations
@@ -128,7 +126,6 @@ subprojects {
128126 // args 'HS_COMP' // HotSpot (tm) JIT compiler profiling via implementation-specific MBeans
129127 // args 'HS_CL' // HotSpot (tm) classloader profiling via implementation-specific MBeans
130128 // args 'STACK' // Simple and naive Java stack profiler
131- args ' .*OperatorSerializePerf.*' // for running only a specific test
132129 }
133130 }
134131
You can’t perform that action at this time.
0 commit comments