summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2015-08-18 14:47:25 -0700
committerHiroshi Yamauchi <yamauchi@google.com>2015-08-19 12:15:17 -0700
commit00370827646cc21cb370c3e7e93f9c0cff4c30c2 (patch)
tree79fd9e7d08ad2055542cb1b64ebf26b00cb3af17 /compiler/optimizing/graph_visualizer.cc
parent83f8b5bb9e9c52791a02a84d7b0889cab898efe4 (diff)
Use thread-local is_gc_marking flags for the CC collector.
The currently global is_marking flag is used to check if the read barrier slow path needs to be taken for GC roots access. Changing it to a thread-local flag simplifies the fast path check and makes it easier to do it in assembly code. It also solves the issue that we need to avoid accessing the global flag during startup before the heap or the collector object isn't allocated and initialized. Bug: 12687968 Change-Id: Ibf0dca12f400bf3490188b12dfe96c7de30583e0
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions