Merge "Fix thread race when fetching the ProfilingInfo object."