Description
There is a issue MESOS-1805 which want to change the const pass-by-value to const reference for some functions, but it is not right, as for some cases, this will cause some unexpected behavior. We can add more comments for those part for why not using const reference to make code clear.