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. .gitignore
  2. Android.mk
  3. build/
  4. jdwpspy/
  5. src/
  6. test/
  7. tools/