John Reck
c6024cdd35
JNI optimization tweaks to Paint high-frequency methods
...
Bug: 22378829
Use fast-jni for getFontMetrics, drops from 35us -> 30us
Note the "heavy" part of the method, getMetricsInternal, is
already called by other fast-jni methods.
Use critical array access for getRunAdvance_* methods. This
will avoid the copy and the access is appropriately scoped
and fast enough to not significantly block the moving GC.
Improves from 88us -> 79us on short text
Change-Id: I7c1481c23f6dba3420fbcf48220f6335cf9f6d10
2015-07-10 10:58:46 -07:00
..
2015-07-10 10:58:46 -07:00
2014-11-21 10:15:08 -08:00
2015-03-26 18:57:36 -07:00
2014-11-21 10:15:08 -08:00
2014-11-19 09:21:12 -08:00
2014-11-21 10:15:08 -08:00
2014-11-19 09:21:12 -08:00
2014-11-21 10:15:08 -08:00
2014-11-19 09:21:12 -08:00
2014-11-19 09:21:12 -08:00
2014-11-19 09:21:12 -08:00
2014-11-19 09:21:12 -08:00
2014-11-19 09:21:12 -08:00
2015-03-16 15:49:23 -07:00
2014-11-21 10:15:08 -08:00
2015-04-10 13:35:27 -07:00
2015-06-23 15:42:43 -07:00
2014-11-21 10:15:08 -08:00
2014-11-21 10:15:08 -08:00
2015-06-23 16:23:03 -07:00
2015-06-22 14:21:22 -07:00
2014-11-21 10:15:08 -08:00
2015-01-15 20:13:11 +00:00
2014-11-13 15:20:37 -08:00
2015-03-13 15:32:59 -07:00
2015-07-01 16:56:25 -07:00
2014-11-21 10:15:08 -08:00
2015-05-22 10:30:13 -07:00
2014-11-21 10:15:08 -08:00
2014-11-21 10:15:08 -08:00
2014-11-21 10:15:08 -08:00
2015-06-17 10:44:56 -07:00
2015-05-28 14:52:37 +00:00
2015-06-18 14:41:04 -07:00
2015-05-28 14:52:37 +00:00
2015-04-03 15:34:34 -07:00
2015-05-06 17:03:50 +00:00
2015-05-06 17:03:50 +00:00
2014-11-21 10:15:08 -08:00
2015-04-28 16:31:58 -07:00
2014-11-21 10:15:08 -08:00
2014-11-13 15:20:37 -08:00
2015-05-18 17:05:51 +00:00
2014-11-21 10:15:08 -08:00
2014-11-19 09:21:12 -08:00
2014-11-23 22:24:32 +01:00
2015-05-12 14:24:09 -07:00
2014-12-02 00:35:12 +00:00
2015-05-12 14:24:09 -07:00
2015-05-12 14:24:09 -07:00
2015-05-12 14:24:09 -07:00
2015-05-12 14:24:09 -07:00
2015-05-12 14:24:09 -07:00
2015-05-12 14:24:09 -07:00
2015-05-12 14:24:09 -07:00
2015-05-12 14:24:09 -07:00
2015-05-22 09:16:45 +02:00
2014-11-21 10:15:08 -08:00
2015-03-12 19:44:49 -07:00
2015-03-11 15:00:35 -07:00
2015-06-23 18:02:12 -07:00
2015-03-13 14:09:26 -04:00
2014-11-25 15:11:59 -08:00
2014-11-21 10:15:08 -08:00
2015-06-03 13:46:12 -07:00
2014-11-21 10:15:08 -08:00
2014-11-21 10:15:08 -08:00
2014-11-21 10:15:08 -08:00
2014-11-21 10:15:08 -08:00
2015-05-12 14:56:57 -07:00
2015-05-15 15:10:58 -07:00
2015-06-29 11:52:23 -07:00
2015-05-21 18:19:50 -07:00
2015-04-28 17:53:32 -07:00
2014-11-21 10:15:08 -08:00
2015-06-16 07:10:59 -07:00
2015-06-22 17:03:19 -07:00
2014-11-21 10:15:08 -08:00
2014-11-21 10:15:08 -08:00
2015-06-12 11:49:29 +01:00
2015-05-05 10:36:09 -07:00
2015-04-22 09:34:34 -07:00
2015-02-19 18:06:05 -08:00
2014-11-19 09:21:12 -08:00
2015-04-08 15:44:03 -07:00
2014-12-05 16:14:07 -08:00
2015-05-14 14:48:08 +01:00
2014-11-19 09:21:12 -08:00
2014-11-20 11:47:40 -08:00
2014-11-19 09:21:12 -08:00
2015-06-17 21:06:03 +01:00
2015-04-30 12:46:57 -07:00
2015-04-20 14:20:47 -07:00
2014-12-18 14:12:27 -08:00
2015-06-03 13:42:21 -07:00
2015-05-06 15:30:16 -07:00
2015-04-22 09:34:34 -07:00
2015-05-14 18:05:36 -07:00
2014-11-19 09:21:12 -08:00
2015-06-22 17:03:19 -07:00
2015-06-22 21:11:15 -07:00
2015-06-22 16:11:32 -07:00
2014-11-21 10:15:08 -08:00
2015-06-30 15:56:33 -07:00
2014-11-21 10:15:08 -08:00
2014-12-18 14:12:27 -08:00
2015-04-30 12:46:57 -07:00
2015-05-12 14:24:09 -07:00
2014-11-19 09:21:12 -08:00