Merge "Reduce the number of calls to Jit::AddSamples."