diff options
author | Andreas Gampe <agampe@google.com> | 2017-06-28 17:20:15 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-07-20 16:33:35 -0700 |
commit | a79db76cedaf6e4cd3e8a30cde0051632a21233d (patch) | |
tree | ea244a4eb3c3093675822a8f8a26cca30a938e4a /test/ProfileTestMultiDex/Main.java | |
parent | e4cf5892c2a244034900d49499c071b255571bba (diff) |
ART: Change main-thread thread paging scheme
Modify the code that ensures we can install a stack guard page into
the main thread.
A recent kernel change means that our previous approach of using a
free pointer does not work. It is important to actually extend the
stack properly. For portability, use a function with a large stack
frame (suggested by and adapted from hboehm).
(cherry picked from commit e43dfd6498545ab54121bf330941aef82d9bf339)
Bug: 62952017
Test: m
Test: m test-art-host
Test: Device boots (x86_64 emulator)
Test: Device boots (bullhead)
Merged-In: Ic2a0c3d6d05a1ea9f655329d147b46949e1b9db3
Change-Id: Ic2a0c3d6d05a1ea9f655329d147b46949e1b9db3
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions