History log of /libcore/libart/src/main/java/java/lang/Class.java
Revision Date Author Comments
a6e22fc9b70ebe39abd716ce37450bda935c0fb8 19-Sep-2013 Ian Rogers <irogers@google.com> Avoid computing class def indices.

Bug: 10244719
Also tidy AnnotationAccess.

(cherry-picked from 8b2c0b9abc3f520495f4387ea040132ba85cae69)
Change-Id: I6ec8fd4e36b428d7e16e01d98b7bebc143fac8c3

Conflicts:
libdvm/src/main/java/java/lang/Class.java
98430d0d75f4cfd40614b77debeb3c8d0abf40df 15-Sep-2013 Ian Rogers <irogers@google.com> Fix getGenericInterfaces for the no annotation case.

Bug: 10244719
(cherry-picked from 43111aab512b1a7c7c8095a7135a7ae2754ea5bd)
Change-Id: I758d32e9cffcabf771e6f5f86ffa2666c8e1cb02

Conflicts:
libdvm/src/main/java/java/lang/Class.java
d4ec55c4e1acc3c3df937facbd367aff6618536c 07-Sep-2013 Ian Rogers <irogers@google.com> Lazier annotation signature parsing.

Bug: 10244719.
Also, make wider use of empty arrays.
Also, use named inner classes to aid profiling.
Remove caching as the empty result will be fast.
Porting the ART changes to DVM, to avoid the caching, results in bringing
in a bunch of other ART clean-up.
TODO, avoid modified-UTF8 to String conversions by Dex.

Change-Id: I051b6e34b5a4e7a7f1383461a799755947a5ba36

Conflicts:
libdvm/src/main/java/java/lang/Class.java
71dc4f7d4829335f7aba5414b43d16cd316ba22f 31-Jul-2013 Brian Carlstrom <bdc@google.com> Refactor ART java.lang.reflect implementation

Bug: 10014286.

(cherry picked from commit 1222a700a25956b0e3634731160017f0d3aa0585)

Change-Id: Ic5672489f6c028d47e6c2a499d6a2bbdd5cc4e4c
d3e311496e0b08acd959c3ffa31d9930a71bae19 24-Jul-2013 Ian Rogers <irogers@google.com> Improve the performance of reflective operations.

Common dex index lookups require a number of different types to be constructed,
implement short-cuts that avoid the intermediate data types.
Refactor reflective operations to use dex methods that don't require temporary
objects.
Note: this change adds an empty short array to Dex, this code can't appear in
libcore.util as Dex doesn't always come with libcore.util.

Bug: 9968234

(cherry picked from commit 381db8de0ac5df124c7f482bf4be9d5756bf3ca4)

Change-Id: I9122a3f01b4f41b07a84aff768193c092e29698c
6a51140fd83dc16867ca38a4ca2e47cbbf090dfd 20-Jul-2013 Ian Rogers <irogers@google.com> Restructure Class.getDeclaredMethodInternal.

Prefer virtual over direct methods when searching for a specific method.
For direct methods, check they are method rather than constructors early
(cheap test) and cast to Method as check-cast ellision can remove.

Motivation, android.widget.RemoteViews is using Class.getMethod and showing
as hot in the calendar launcher widget.

Change-Id: Id12fe9549c8f6626fd1abf0494d81aee32e0bc7a
78728ebce868f5949739e6e204e3e0fbf0356f8d 15-Jun-2013 Elliott Hughes <enh@google.com> Fix Class.getModifiers for arrays of inner classes.

Bug: https://code.google.com/p/android/issues/detail?id=56267

(cherry picked from commit 8aa5892195543e80b1c4eb10d8764268927cc1be)

Change-Id: I3be5433b04607e5f41e7c68f03cfabc166b56d54
2cf03dc15c40b92634ff606694af5a6e9aa4db09 22-May-2013 Brian Carlstrom <bdc@google.com> Adding libart support to libcore

Change-Id: I86febf08eacf42bb4b2f06dbd51c5b2d5b25c9fb