summaryrefslogtreecommitdiffstats
path: root/test/100-reflect2
Commit message (Collapse)AuthorAgeFilesLines
* Set vtable in class object to null after linking.Mingyao Yang2014-07-221-1/+1
| | | | | | | | This is follow-up work of embedding imt and vtable for faster interface/virtual call dispatching. Once vtable becomes embedded, the original vtable is nulled. Change-Id: I307696657d1e283654169dbecb8f7815c42bbabc
* Add access checks to Method and Field reflection.Jeff Hao2014-03-282-14/+6
| | | | | | | Art side of this change. Has a corresponding libcore change. Bug: 13620925 Change-Id: Ie67f802a2a400e8212b489b9a261b7028422d8ba
* Implement Interface Method Tables (IMT).Jeff Hao2013-10-291-1/+1
| | | | Change-Id: Idf7fe85e1293453a8ad862ff2380dcd5db4e3a39
* Use class def index from java.lang.Class.Ian Rogers2013-09-191-1/+1
| | | | | | | | | | | | Bug: 10244719 Depends on: https://googleplex-android-review.git.corp.google.com/362363 This removes the computation of the dex file index, when necessary this is computed by searching the dex file. Its only necessary in dalvik.system.DexFile.defineClassNative and DexFile::FindInClassPath, the latter not showing up significantly in profiling with this change. Change-Id: I20c73a3b17d86286428ab0fd21bc13f51f36c85c
* Refactor java.lang.reflect implementationBrian Carlstrom2013-08-131-1/+1
| | | | | | | | | | | Cherry-picked from commit ed41d5c44299ec5d44b8514f6e17f802f48094d1. Move to ArtMethod/Field instead of AbstractMethod/Field and have java.lang.reflect APIs delegate to ArtMethod/ArtField. Bug: 10014286. Change-Id: Iafc1d8c5b62562c9af8fb9fd8c5e1d61270536e7
* Fixed list of String methods after removal of old JIT methods.Jeff Hao2013-06-101-1/+1
| | | | Change-Id: I34a8fd56a8e2b51f5ef31d0a8e2694112f5ee2b2
* Interpreter entries and instrumentation as a listener.Ian Rogers2013-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the instrumentation responsible for whether we want method entry/exit stubs, and allow it to use interpreter entry stubs when instruction by instruction instrumentation is required. Improve deoptimization so more JDWP test cases are passing. Refactor exception debug posting, in particular improve reporting in the interpreter. Improve class linker exception throwing so that broken dex files are more likely to be reported. Fixes the performance issue Bug: 8410519. Fix some error reporting lock level errors for the large object space. Make fast object verification faster. Add some debug mode robustness to finding dex PCs in GC maps. Add printf attributes to JniAbortF and fix errors. Expand run-test 044 to test return behaviors and fix issues with not throwing appropriate exceptions for proxies. Ensure causes are reported with a class linker NoClassDefFoundError and JNI NoSuchFieldError. Remove unused debugMe and updateDebuggerFromCode. There's a minor sizing tweak to the arg array builder, and an extra reference array check in the interpreter. Some clean-up of trace code. Fix reg type cache destructor if it is called after the reg type cache is shutdown (as is the case in oatdump). Change-Id: I6519c7b35df77f978d011999354c864f4918e8ce
* Move ReflectionTest to a run-test.Ian Rogers2013-01-103-0/+351
Change-Id: I3d3047aeea3db467beebd7c76b336b6699fb9238