Pick a @Warmup annotation with parameters you would add to the benchmark to have 3 warmup iterations in each fork.
@Benchmark
@Fork(3)
@Measurement(iterations = 4)
public String testMethod() {
Map<Integer, String> map = new HashMap<>();
map.put(1, "A");
return map.get(1);
}