summaryrefslogtreecommitdiff
path: root/test/CreateMethodSignature/CreateMethodSignature.java
AgeCommit message (Collapse)Author
2013-09-26Introduce Signature type to avoid string comparisons. Ian Rogers
Method resolution currently creates strings to then compare with strings formed from methods in other dex files. The temporary strings are purely created for the sake of comparisons. This change creates a new Signature type that represents a method signature but not as a string. This type supports comparisons and so can be used when searching for methods in resolution. With this change malloc is no longer the hottest method during dex2oat (now its memset) and allocations during verification have been reduced. The verifier is commonly what is populating the dex cache for methods and fields not declared in the dex file itself. Change-Id: I5ef0542823fbcae868aaa4a2457e8da7df0e9dae
2012-01-30Fix copyright headers. Elliott Hughes
Change-Id: I5b7bc76a370238d810d78522bd5531600746700f
2011-11-13Refactor the use of Method by the compiler. Ian Rogers
Remove the dependence on the Method object in dex2oat, allowing lazier resolution. Introduce new find and iterators in DexFile to simplify common operations and avoid misuse of class data items. Change-Id: I39fb8252190f543d89d8b233076355cec310fe08