OSDN Git Service

Use sendfile when copying profile file.
authorCalin Juravle <calin@google.com>
Wed, 4 Jun 2014 11:01:50 +0000 (12:01 +0100)
committerCalin Juravle <calin@google.com>
Wed, 4 Jun 2014 15:25:28 +0000 (16:25 +0100)
commit5221410e960d9af0edcba4206cc48ebdfbfe6be0
tree4224b3925826c35f0c52fac0867bf7175f1adae4
parent177b429a54a57adbe922037b1210e596d8348d2a
Use sendfile when copying profile file.

This removes the 4k stack allocation and allow to activate
-Wframe-larger-than=1728 compiler opion.

Bug: 15278350
Change-Id: I389ffe06feb3c1c1bf620e20164cca04a0594788
runtime/native/dalvik_system_DexFile.cc