diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2021-03-08 20:06:58 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2021-03-10 09:20:30 +0000 |
commit | 5c7cddf60940727748fb02fa1d884c1ba2ffd1fd (patch) | |
tree | c2a20989eb4b6a566d23477dc6046a37d9587c23 /runtime/javaheapprof/javaheapsampler.cc | |
parent | 4dd1bf43e0bd1a3583683626230796ce3c77a367 (diff) |
Fast path for some calls in nterp.
When we call into compiled code and:
- the method is static and has <= 1 argument, or the method
is instance and has <= 2 arguments,
- the instruction following the call is not move-result or
move-result-wide
Avoid fetching the shorty.
Optimization suggested by vmarko@
Test: test.py
Bug: 112676029
Change-Id: If0cab86948df28490d77b2a9c441b4d6880dfacd
Diffstat (limited to 'runtime/javaheapprof/javaheapsampler.cc')
0 files changed, 0 insertions, 0 deletions