diff options
| author | 2023-06-06 13:07:55 -0700 | |
|---|---|---|
| committer | 2023-06-08 17:58:58 +0000 | |
| commit | 4a87b227ee77355dff831c157d7bb2ca8b02feb3 (patch) | |
| tree | 6a03ef955ccdeb68e75ca856dc712cfe36249d25 /compiler/optimizing/codegen_test.cc | |
| parent | 4313c979224cd50c0887a7a51257f0d007916533 (diff) | |
Fix 2042-reference-processing synchronization
The phantomRefs HashMap was not consistently lock-protected.
Change it to a ConcurrentHashMap instead and remove the lock.
We conjecture this caused the first bug listed below.
We initially thought this might also fix the second one and
tried to remove the TODO and re-enable that part of the test.
Unfortunately that again resulted in a very intermittent local
failure on host.
Add comments to the CC collector to explain a particularly
surprising use of memory_order_relaxed, which I keep having
to rejustify to myself.
Bug: 285914076
Bug: 216481630
Test: Treehugger
Change-Id: I2e5616c5ad0eab59f4a0e89d451e7e34a94448f3
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
0 files changed, 0 insertions, 0 deletions