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 (cherry picked from commit df674c45) Change-Id: Idf503beccf912e26f31abbcf66087afb9a8fe138
Loading
Please sign in to comment