Commit 047238c
committed
Switch Parcel to static JNI calls, pass pointer.
Instead of using parcelForJavaObject(), pass down the mNativeObj
pointer explicitly. Benchmarks show that writeInt() is roughly 3x
faster with this approach.
Change-Id: I24ca235c334c44be716070aa8066ec8a429eadb71 parent 8ac70c4 commit 047238c
File tree
3 files changed
+309
-202
lines changed- core
- java/android/os
- jni
3 files changed
+309
-202
lines changed
0 commit comments