summaryrefslogtreecommitdiff
path: root/compiler/dex/quick/codegen_util.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2013-11-12 16:28:05 -0800
committer Mathieu Chartier <mathieuc@google.com> 2013-11-15 10:38:59 -0800
commit39e3261168e7761fea6d873494d7c5d191285791 (patch)
treeb0fe6e048631991cd8842a9b4a374c3d843c2e83 /compiler/dex/quick/codegen_util.cc
parentad435ebd9d011eef66ef77e96b065024220c10ad (diff)
Refactor reference queues.
Refactored the reference queue processing to reside in the heap code. This removes significant code duplication in the semispace and marksweep garbage collectors. Changed the soft reference behaviour to preserve all soft references unless the GC requires them to be cleared to avoid an out of memory error. It may be worth investigating a better heuristic in the future to preserve soft references by LRU order. Change-Id: I1f3ff5bd4b3c5149271f4bb4fc94ba199e2f9bc2
Diffstat (limited to 'compiler/dex/quick/codegen_util.cc')
0 files changed, 0 insertions, 0 deletions