diff options
author | Andreas Gampe <agampe@google.com> | 2017-06-28 17:20:15 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-07-20 19:40:21 -0700 |
commit | 2dc01ce7f2f1e186c44346fdbb0b486397de6a34 (patch) | |
tree | b5bf645e5bad2542091b35862ba3cdbf55cd7440 /test/ProfileTestMultiDex/Main.java | |
parent | 9a783d6a0cb437fc0d9ffcc84502912f3d1cb73b (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 a79db76cedaf6e4cd3e8a30cde0051632a21233d)
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