summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorbuzbee <buzbee@google.com>2016-04-11 07:48:18 -0700
committerbuzbee <buzbee@google.com>2016-04-11 09:00:46 -0700
commit0e6aa6d945048345dee93f87070df6a62b31f680 (patch)
tree99f49d63fecd6a1cd56e44c9adb353c3fd43d789 /compiler/optimizing/graph_visualizer.cc
parent0432b41abde95c8eae76714ad652316682b317d6 (diff)
ART: Make mterp jit profiling race tolerant
The JIT profiling mechanism is intentionally non-precise to minimize performance overhead. In general, this is not a problem. However, the on-stack replacement mechanism assumes an order of method compilation than can sometimes be violated if conditions are just right. This change allows compilation requests that were dropped due to a race condition to eventually be re-issued. It does this by allowing the 16-bit hotness counter to wrap around. Change-Id: I2ac8056af8c4f7f8cef3f2c3db70b0394c26a566
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions