Use StringViews in places in hot paths.
This is necessary to prevent reduce refcount thrashing when AtomicStrings become threadsafe. This CL is broken out of https://chromium-review.googlesource.com/c/chromium/src/+/1557854 See this design doc for more details on the larger motivation for this change: https://docs.google.com/document/d/1hp7h6zfD5S6mnMI4cHe1PpacRnb2rNpRRkn1gBBJHuQ/edit#heading=h.erv1bv18t616 Bug: 1083392 Change-Id: Ib6f3a71d0153cc8cff178597e4e9cbd18cd38ea4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2285518 Commit-Queue: Albert J. Wong <ajwong@chromium.org> Reviewed-by:Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#789119}
Showing
Please register or sign in to comment