File tree Expand file tree Collapse file tree
tools/perf-automation/Azure.Sdk.Tools.PerfAutomation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ public override async Task<IterationResult> RunAsync(
130130 if ( profile )
131131 {
132132 var profileOutputPath = Path . GetFullPath ( Path . Combine ( Util . GetProfileDirectory ( WorkingDirectory ) , $ "{ testName } _{ profileCount ++ } .jfr") ) ;
133- profilingConfig = $ "-XX:StartFlightRecording=filename={ profileOutputPath } ,maxsize=1gb";
133+ profilingConfig = $ "-XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints -XX: StartFlightRecording=filename={ profileOutputPath } ,maxsize=1gb";
134134
135135 // If Java 8 is the version of Java being used add '-XX:+UnlockCommercialFeatures' as that is required to run Java Flight Recording in Java 8.
136136 // Don't add '-XX:+UnlockCommercialFeatures' if it is any other version as this causes the JVM to crash on an unrecognized VM options.
You can’t perform that action at this time.
0 commit comments