summaryrefslogtreecommitdiff
path: root/compiler/optimizing/loop_optimization.cc
diff options
context:
space:
mode:
author Hans Boehm <hboehm@google.com> 2021-09-22 13:28:35 -0700
committer Hans Boehm <hboehm@google.com> 2021-09-24 22:20:41 +0000
commitf8dea01f3801a90f09bf156e33ba2daa4c186809 (patch)
tree4e01dac9078afef2460ece05b63523390e431079 /compiler/optimizing/loop_optimization.cc
parente8445e579a4a99d3d48714bda475f2c6f1fdda80 (diff)
Simplify IRTEntry
We previously stored the last several object references associated with indirect reference table entry. The old entries might once have been used to provide more informatio about stale entries. But with a copying collector, they were not even getting updated during GCs, and we could not identify any purpose for them. Keep just the current entry instead. We keep the serial number from before to continue to check for stale references. This should save nearly half the space (both used and reserved) in indirect reference tables, while slightly speeding up accesses. It implements the most basic option suggested in the bug. If this pays off in a noticable way, we should do more here. Test: Build and boot AOSP Bug: 184847225 Change-Id: If563bcfcf7a01e4551326f06a2894bd906947025
Diffstat (limited to 'compiler/optimizing/loop_optimization.cc')
0 files changed, 0 insertions, 0 deletions