commit | e4deaf3ccdfaf33f0b4526e9963612bfa2dc79e8 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Fri Jun 09 15:27:15 2017 -0700 |
committer | Andreas Gampe <agampe@google.com> | Wed Jun 14 14:44:53 2017 -0700 |
tree | 6af8ed52f680e3f65ffed43d52353c34803b668a | |
parent | 651ba599961ff0cdc36e83d3d58b1744d37ee9f7 [diff] |
ART: JIT code cache allocation cleanup Request the data cache with kProtData instead of kProtAll. It isn't necessary nor intended to be executable. The tail remap for the code cache will make all required parts executable, if possible. Also use a unique_ptr to plug a leak on failure. Bug: 36138508 Test: m Test: m test-art-host Test: Test SANITIZE_LITE=true build with wrap.system_server = asanwrapper Change-Id: Id9e2e51bc8d7a29db99c406cd1e9ef6bbb8d444c