Merge "Defer heap transitions to heap trimming daemon."