commit | 563ada2e5570d947ee2b96e3651ded3692be33be | [log] [tgz] |
---|---|---|
author | Orion Hodson <oth@google.com> | Tue Sep 04 11:28:31 2018 +0100 |
committer | Orion Hodson <oth@google.com> | Wed Sep 19 16:58:49 2018 +0100 |
tree | 649679d2e1249053a98237130a9b944181aa21ef | |
parent | a93364cbd4ebf4b8c309c4c18f30e16c8f9a8997 [diff] |
ART: Add wrappers for membarrier and memfd_create() Adds art::membarrer() and art::memfd_create() as wrappers around the similarly named linux syscalls. These wrappers can fail due to missing OS support so code that uses them needs to deal with this. Updates the JIT code cache to use art::membarrer(). Bug: 111199492 Test: art/test.py --host Change-Id: I122746e6293e7201077e834d8a5ed7bbba45e283