commit | fa66389fbeeb2b4a6e1e1f5805653222f424a9bf | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Mon Oct 18 23:08:53 2021 +0100 |
committer | David Srbecky <dsrbecky@google.com> | Tue Nov 02 09:54:33 2021 +0000 |
tree | 4f5d92a128f1e98078bffd314f386cb3c9bb33f1 | |
parent | ee6c1b17ca966995539ce3e29fb416ec1a93beef [diff] |
Inline ResolveMethod and ResolveField in nterp They are on very hot path (field and method opcodes). This makes up startup ~1% faster with interpreter. The methods are fairly big and spill most registers, but the DexCache-hit fastpath requires no spills. Rather than refactoring the methods, it is easier to just inline them, since the caller already spills. Test: test.py -b --host Change-Id: I60221e3aa819378ed2f353044cfdfe6cbc51237d