summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_unit_test.h
diff options
context:
space:
mode:
author Lokesh Gidra <lokeshgidra@google.com> 2025-03-05 01:42:58 +0000
committer Lokesh Gidra <lokeshgidra@google.com> 2025-03-05 17:48:41 -0800
commit0c209c52447c6f84e5af2a95d21126845ebc2b63 (patch)
treec12a4054327a9b343987607c993f21eaf9414e55 /compiler/optimizing/optimizing_unit_test.h
parent05396abbca06830eaa7cea151c8ede1f43128b5a (diff)
Fix the logic of adjusting class-after-obj map in FinishPhase()
It was being wrongly assumed that while iterating over the map, once an object (which is the value in the map) is found to be >= mid-gen-end, then we can just erase all entries afterwards. However, that's incorrect as we could have a subsequent entry in the map with its object < mid-gen-end, and hence shall be retained. Made some other corrections also regarding the case when compaction is not performed. Bug: 399874996 Bug: 343220989 Bug: 397381582 Test: ATP test-infra Change-Id: I73e872bfad97a2dc99d2eee44f06c3ce7868bc5c
Diffstat (limited to 'compiler/optimizing/optimizing_unit_test.h')
0 files changed, 0 insertions, 0 deletions