heap: Do not rely on other synchronization for GCInfo
Instead of relying on in-construction bit, use off-the-shelf double-checked-locking for ensuring GCInfo correctness as it is way simpler to reason about. In general, GCInfo are known statically at compilation time which is why we should think about putting them into proper sections. The current problem there is component builds. This reverts parts of https://crrev.com/c/2062440 Change-Id: Id3100b00f44386328ce7b8946d95362a3323e104 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2066841 Auto-Submit: Michael Lippautz <mlippautz@chromium.org> Reviewed-by:Anton Bikineev <bikineev@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#743512}
Showing
Please register or sign in to comment