diff options
author | 2023-02-09 13:37:40 +0000 | |
---|---|---|
committer | 2023-02-09 15:39:05 +0000 | |
commit | c137762c96cb8329ea95e1dda27b0a2d9c1f3228 (patch) | |
tree | b68f3e25fdef999c7d2c0966ec025344adcef6d5 /compiler/optimizing/graph_checker_test.cc | |
parent | a8a815cb3a20ac492e1a9d7025b3224708199f60 (diff) |
Fix mutator lock annotations for `nodes.cc`.
Allow constructing `GcRoot<>` and `ObjPtr<>` from null
without holding the mutator lock.
Mark `Object::GetLockOwnerThreadId()` as requiring the
mutator lock.
This allows compiling `nodes.cc` with a new version of
clang++ with improved `-Wthread-safety-analysis`.
Bug: 265153643
Test: Presubmit
Change-Id: I186120216c7176d918ade0e55d77b481b6c70622
Diffstat (limited to 'compiler/optimizing/graph_checker_test.cc')
0 files changed, 0 insertions, 0 deletions