diff options
author | Andreas Gampe <agampe@google.com> | 2017-06-09 15:27:15 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-06-14 14:44:53 -0700 |
commit | e4deaf3ccdfaf33f0b4526e9963612bfa2dc79e8 (patch) | |
tree | 6af8ed52f680e3f65ffed43d52353c34803b668a /compiler/driver/compiler_driver_test.cc | |
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
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
0 files changed, 0 insertions, 0 deletions