commit | ffc788cb7b5b9f53734d7bb8af2d5e45d885546b | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Fri Sep 26 14:32:37 2014 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Fri Sep 26 18:49:44 2014 -0700 |
tree | 4d3a5cbe73556c6206b9afaa9a5495af3371f9ab | |
parent | 23fb122b57c52ab1db98708a4e15765b46b26405 [diff] |
Optimize get/set reflection performance Speedups mostly from reducing how often access checks are needed, and adding more inlining, and adding templates. Field_getInt from ~850ns -> 350ns. Field_setInt from ~900ns -> 370ns. Bug: 14063288 Change-Id: I2441581ff3478c6ae43b6aa49939ff3f07555ec8