summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/compiler_llvm.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2012-10-17 17:45:55 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2012-10-23 10:38:45 -0700
commit858f1c5fd5e528d0b16040ced74d4636046a42d8 (patch)
tree3cfe50b75962353cdd62ec68112f3f148f026506 /src/compiler_llvm/compiler_llvm.cc
parentef851d3058abfc56ed544f25d387dc7ff9c32e0b (diff)
Check point root marking.
Added thread list checkpoint function, this goes through every thread and runs the checkpoint on each thread. Threads that are runnable run the checkpoint callback themselves in the next suspend check, while suspended threads are left suspended but have the callback called on them. Added a checkpoint visitor member to each thread, this visitor called when the checkpoint request flag is set during transitions to suspended from runnable. Using the checkpoint to mark the roots reduces the first pause of partial / full gc to around 1 ms. Change-Id: I97239cc72ee0e4a3397e9138a62ee559268dce0a
Diffstat (limited to 'src/compiler_llvm/compiler_llvm.cc')
0 files changed, 0 insertions, 0 deletions