commit | 651ba599961ff0cdc36e83d3d58b1744d37ee9f7 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Wed Jun 14 14:41:33 2017 -0700 |
committer | Andreas Gampe <agampe@google.com> | Wed Jun 14 14:44:19 2017 -0700 |
tree | f60270aff206747ba47688f359b265931697d706 | |
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