camera2: Avoid boxing primitives while unmarshalling primitive arrays.
Bug: 174742989
Test: GCA (basic validity)
Test: Without this CL, capture many images with GCA, profile with
simpleperf, stack traces with java.lang.Float.valueOf in
mm_fault_count kprobes : 21% (most of them coming from
MarshalQueryableArray.unmarshal)
Test: Without this CL, capture many images with GCA, profile with
simpleperf, stack traces with java.lang.Float.valueOf in
mm_fault_count kprobes : 3.92%
Test: camera CTS, no new failures.
Change-Id: If359c828a231df41ba7b586bdda36255656a5a76
Signed-off-by:
Jayant Chowdhary <jchowdhary@google.com>
Loading
Please register or sign in to comment