In this case, that is not a concern because only one thread, the DAGScheduler thread seems to be accessing this.