diff options
author | Andreas Gampe <agampe@google.com> | 2017-06-14 14:41:33 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-06-14 14:44:19 -0700 |
commit | 651ba599961ff0cdc36e83d3d58b1744d37ee9f7 (patch) | |
tree | f60270aff206747ba47688f359b265931697d706 /compiler/driver/compiler_driver_test.cc | |
parent | 4f647ebe819667658957c2c3b6bceec3b572e853 (diff) |
ART: Split out PROT_EXEC from custom low-4GB allocator
To address the known issue that denials for executable memory can
lead to the custom low-4GB allocator being very slow, split the
allocation into two parts. First allocate without PROT_EXEC, then
try to mprotect with the originally requested flags.
Bug: 36138508
Test: m test-art-host
Test: m SANITIZE_TARGET=address SANITIZE_LITE=true ; asanwrapper for system_server
Change-Id: Ic18621f5b5c619ea1a3ad861c1f764886dc6f2a2
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
0 files changed, 0 insertions, 0 deletions