commit | 952dbb19cd094b8bfb01dbb33e0878db429e499a | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Jul 28 12:01:51 2016 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Thu Aug 04 14:51:52 2016 +0100 |
tree | 82932c2b00245042e2c129f3d4133f6431657da3 | |
parent | df638c66d1f385d4e217b2ab22c5e48a7eefdef4 [diff] |
Change suspend entrypoint to save all registers. We avoid the need to save/restore registers in slow paths and get significant code size savings. On Nexus 9, AOSP: - 32-bit boot.oat: -1.4MiB (-1.9%) - 64-bit boot.oat: -2.0MiB (-2.3%) - other 32-bit oat files in dalvik-cache: -200KiB (-1.7%) - other 64-bit oat files in dalvik-cache: -2.3MiB (-2.1%) Test: Run ART test suite on host and Nexus 9 with gc stress. Bug: 30212852 Change-Id: I7015afc1e7d30341618c9200a3dc9ae277afd134