commit | 7747a15375ee878f393196ea95e5a19a7a40c532 | [log] [tgz] |
---|---|---|
author | Michael Lippautz <mlippautz@chromium.org> | Tue Dec 18 20:35:06 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 18 20:35:06 2018 |
tree | 050910b0951eab374343ea19bf870ad32cc096c0 | |
parent | a9f398e31428f29e9500a22104a329472d284b35 [diff] |
heap: Avoid copying WeakMember during roots iteration Weak members currently emit a write barrier upon copy construction. Copying WeakMember<T> on the stack during roots iteration will make all active ScriptWrappables links that are weak strong. Tbr: haraken@chromium.org Bug: 843903, 916200 Change-Id: I13a6512cdd1c8b03397b95665de8bcd83e263e69 Reviewed-on: https://chromium-review.googlesource.com/c/1382918 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#617609}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .