(mode: MeasurementMode)
| 13 | const WALLTIME_JAVA_TOOL_OPTIONS: &str = "-XX:+PreserveFramePointer -XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints -XX:+EnableDynamicAgentLoading -Djdk.attach.allowAttachSelf=true"; |
| 14 | |
| 15 | pub(super) fn env(mode: MeasurementMode) -> Vec<(&'static str, String)> { |
| 16 | if mode != MeasurementMode::Walltime { |
| 17 | return Vec::new(); |
| 18 | } |
| 19 | vec![(JAVA_TOOL_OPTIONS, WALLTIME_JAVA_TOOL_OPTIONS.to_owned())] |
| 20 | } |
nothing calls this directly
no outgoing calls
no test coverage detected