Files
frameworks_base/core/java/android/os
Daniel Colascione 012ab8e9fa Mark common android.os.Parcel methods as FastNative
Mark the marshaling functions for non-primitive parameters as being
@FastNative: they're all expected to complete quickly.

According to the table in CriticalNative.java, the difference between
a regular JNI call and a FastNative call is about 80ns, so this change
should shave about 160ns per non-primitive parameter off the latency
of a binder transaction. The actual savings will be greater as we also
use these Parcel methods to marshal and unmarshal complex objects like
PackageInfo sent as objects over Binder.

Bug: 142271139
Test: boots
Change-Id: I85c3ee8498640193b9c0777c8c5e7eb349c7b23c
2019-10-07 16:20:06 -07:00
..
2019-03-18 16:17:36 -07:00
2019-09-09 18:14:48 +08:00
2019-10-02 13:48:50 -07:00
2019-09-23 22:00:50 +00:00
2019-09-23 22:00:50 +00:00
2019-01-14 14:37:12 -08:00
2019-01-14 14:37:12 -08:00
2019-10-07 10:09:45 -07:00