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
5 files changed
tree: cb25ff0b8ee54e092fab8579a9f56f47c08ab8e2
  1. build/
  2. jdwpspy/
  3. src/
  4. test/
  5. tools/
  6. .gitignore
  7. Android.mk