commit | b81c965295f474a472582a84d0d46ce4a45dbebe | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Mon Nov 13 08:34:52 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 13 08:34:52 2023 |
tree | 6dd27383667af72dd54c225b2ceb38b88482876a | |
parent | b88aea4bcc6cecd3316c1b05db0d3994d638b618 [diff] |
Fix HeapTest.CollectNodeAndCssStatistics under UBSan This test relies on the compiler keeping node and css alive across the GC call. However, the compiler does not need to do this (it only needs enough to assert the pointers are true later). For some reason (more register pressure?), when UBSan is enabled, the compiler compiles this code in a way that drops those pointers. Since the test seems to be about statistics and not the conservative GC, put those objects in Persistent<T> pointers. Bug: 1394755 Change-Id: If2f41fa52e0fa11c56abd7dd0edc18f8bf8a4e5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5017508 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Auto-Submit: David Benjamin <davidben@chromium.org> Cr-Commit-Position: refs/heads/main@{#1223518}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.