WTF: Skip heap allocation for small objects in DEFINE_STATIC_LOCAL.
Many of these are only one or two pointers large anyway (e.g. AtomicString, Vector), so using the heap doesn't save memory, and just adds a pointer indirection to each access. Change-Id: If63b228bd0b5f8040c7b13134f063c1e26322f85 Reviewed-on: https://chromium-review.googlesource.com/519846Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Yuta Kitamura <yutak@chromium.org> Commit-Queue: Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#476283}
Showing
Please register or sign in to comment