summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2017-04-27 19:30:16 -0700
committerCalin Juravle <calin@google.com>2017-05-08 15:56:35 -0700
commitdf674c45091d01f504bf1bb7d241678ecd449ae0 (patch)
tree94a6e024368b1742ee9aba7cbf31e0fd459aa393 /compiler/optimizing/graph_visualizer.cc
parent3650acb134b4e68ba3f190772b02105f74081bf2 (diff)
Do not fsync profiles on close
There's no need to fsync profile data right away. We get many chances to write it again in case something goes wrong. We can rely on a simple close(), no sync, and let the kernel decide when to write to disk. This should improve the I/O behavior of saving profiles. Bug: 36817443 Test: m test-art-host-gtest Change-Id: I0df27947006d57b15d6311420c79288148736f62
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions