Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1a294342 authored by Jayant Chowdhary's avatar Jayant Chowdhary
Browse files

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: default avatarJayant Chowdhary <jchowdhary@google.com>
parent b2d6cd27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment