diff options
author | 2025-02-20 03:50:01 +0000 | |
---|---|---|
committer | 2025-02-20 11:46:03 -0800 | |
commit | 4e244861abb568c768fb6c5cd7c870c493f16f6f (patch) | |
tree | 3fe904fb8d14edfd7cbe4ebc0c8c67602aa7e636 /compiler/optimizing/nodes.cc | |
parent | 69f0fd807b3abc8fb4e0eb2b5ebf3e1cc090a8f9 (diff) |
Check native-roots (to young-gen) of all objects during marking
In aosp/3489378 we (rightly) changed the logic to align-up (instead of
aligning down) the mid-gen-end boudary to page-size. However, this
opened a window towards the end of mid-gen where some young objects get
pre-maturely promoted to mid-gen in PrepareForCompaction(). This is fine
in general, but means that our 'native-roots pointing to young-gen'
logic during marking can't be restricted all objects outside young-gen.
We have to now consider all objects being visited.
Bug: 343220989
Bug: 397381582
Test: ATP test infrastructure
Change-Id: I083dac9a7396b152138987254f0934e3d1a1b3b8
Diffstat (limited to 'compiler/optimizing/nodes.cc')
0 files changed, 0 insertions, 0 deletions