commit | df674c45091d01f504bf1bb7d241678ecd449ae0 | [log] [tgz] |
---|---|---|
author | Calin Juravle <calin@google.com> | Thu Apr 27 19:30:16 2017 -0700 |
committer | Calin Juravle <calin@google.com> | Mon May 08 15:56:35 2017 -0700 |
tree | 94a6e024368b1742ee9aba7cbf31e0fd459aa393 | |
parent | 3650acb134b4e68ba3f190772b02105f74081bf2 [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