diff options
| author | Andreas Gampe <agampe@google.com> | 2016-03-17 21:27:19 -0700 |
|---|---|---|
| committer | Andreas Gampe <agampe@google.com> | 2016-03-18 10:56:03 -0700 |
| commit | 8245eb4ddd340769192febf597e80de96603d79d (patch) | |
| tree | 300244b9c07c104741ad6ae38fc6f56b375de5fa /test/MultiDexModifiedSecondary/Main.java | |
| parent | 02d97c3727a4c7fb611b73fac1a0ff19568de2c9 (diff) | |
ART: Speed up stack guard page install
Only the main thread doesn't have its stack mapped in under normal
conditions. Reading each page is a lot of overhead and we should
try to avoid it.
Rewrite to first try a (non-fatal) protect. If the outcome is a
success, finish. Otherwise do the stack mapping, and try again.
Bug: 27718174
(cherry picked from commit 2c2d2a05eaf81d07df27418f8dfd68de6fa28ac1)
Change-Id: I16b214567585ed2f09970f618ccdec7eed219fd3
Diffstat (limited to 'test/MultiDexModifiedSecondary/Main.java')
0 files changed, 0 insertions, 0 deletions
