commit | 45619fcc01fb6db1ac9481a91608eb46f90829e4 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Wed Feb 29 11:15:25 2012 -0800 |
committer | Ian Rogers <irogers@google.com> | Wed Feb 29 11:25:14 2012 -0800 |
tree | cb25ff0b8ee54e092fab8579a9f56f47c08ab8e2 | |
parent | 282dab03fd0c80819fa988ef2e81b2bae1c36287 [diff] |
Allocate small arg arrays on the stack Create a helper class to either keep in a short local array or allocate the arg array. This benefits JNI methods with a small number of arguments by avoiding an allocation. Change-Id: I88a9ff6b7ff88b16021813650e9425697e934353