summaryrefslogtreecommitdiffstats
path: root/src/oatexec.cc
Commit message (Collapse)AuthorAgeFilesLines
* Nomenclature improvements.Elliott Hughes2012-03-261-10/+9
| | | | Change-Id: I809ab04b6ee74bb8141791e1f3f5d7e3f4efb61c
* Stop saying "clazz".Elliott Hughes2012-03-221-2/+2
| | | | Change-Id: I569a3d29f6a394ee40e6dbdb8f76ae9a60348b65
* Fix all our unused parameter warnings so we let GCC report them.Elliott Hughes2012-03-161-2/+2
| | | | | | | | | | | There were a couple of genuine bugs here (fixed), plus there's a missing feature in trace.cc that I've just added a TODO for. Also note that I haven't touched the compilers; this warning is still explicitly disabled for that code. I'll do that when there's less going on in those directories. Change-Id: Ic3570bf82411a07c7530bfaf1995ac995b9fc00f
* Fix copyright headers.Elliott Hughes2012-01-301-1/+15
| | | | Change-Id: I5b7bc76a370238d810d78522bd5531600746700f
* Reduce namespace pollution.Elliott Hughes2012-01-231-2/+10
| | | | | | | | | This leaves us with just the mspace stuff and three libdex functions to clean up. We deliberately expose the JII API, and I don't think there's anything we can really do about the art_..._from_code stuff (and at least that starts with "art_"). Change-Id: I77e58e8330cd2afeb496642302dfe3311e68091a
* Create proxy class, constructor, and methods.Jesse Wilson2011-10-131-2/+2
| | | | | | | This code compiles but has not been exercised. I still need to wire in the code blocks and return types. Change-Id: I1796103d3bc4fc3c863f95bdca4cfb9765d4b3b7
* Move rest of code related blobs from Method to oatBrian Carlstrom2011-10-071-3/+3
| | | | Change-Id: I55041b564ab65317c8b1f863005f20ba650a0322
* Ensure we exit with EXIT_FAILURE if the main thread had an uncaught exception.Elliott Hughes2011-10-021-5/+7
| | | | Change-Id: I511d71d84992b2ec5efc7b2c2a39f7f279df941c
* Fix oatexec to not print uncaught exceptions twice.Elliott Hughes2011-10-021-21/+16
| | | | Change-Id: I7af0859cf4c981f1dc6fb9e0940ef17897951cc1
* Filling in some Class, Method, and Field native code needed during startup ↵Brian Carlstrom2011-09-161-5/+0
| | | | | | and I/O Change-Id: Ia2f2a0ec295d1bd848e6f65254bd9fec2fde56f6
* oatdumpBrian Carlstrom2011-09-161-4/+2
| | | | | | | | | | | | | | | FROM MAKE: mm dump-boot-oat ON HOST: oatdump --dex-file=$ANDROID_PRODUCT_OUT/system/framework/core.jar --image=$ANDROID_PRODUCT_OUT/system/framework/boot.oat --strip-prefix=$ANDROID_PRODUCT_OUT oatdump --boot-dex-file=$ANDROID_PRODUCT_OUT/system/framework/core.jar --boot=$ANDROID_PRODUCT_OUT/system/framework/boot.oat --dex-file=$ANDROID_PRODUCT_OUT/system/framework/art-test-dex-HelloWorld.jar --image=$ANDROID_PRODUCT_OUT//system/framework/art-test-dex-HelloWorld.oat --strip-prefix=$ANDROID_PRODUCT_OUT ON TARGET: adb shell oatdump --dex-file=/system/framework/core.jar --image=/system/framework/boot.oat adb shell oatdumpd --boot-dex-file=/system/framework/core.jar --boot=/system/framework/boot.oat --dex-file=/system/framework/art-test-dex-HelloWorld.jar --image=/system/framework/art-test-dex-HelloWorld.oat Change-Id: Iad2ae40a9cf2dc28799ff5dc5222d50f1bc6b39f
* Working dex2oat and oatexecBrian Carlstrom2011-09-061-0/+181
adb shell dex2oatd --dex-file=/system/framework/core.jar --image=/system/framework/boot.oat --base=0x50000000 "'--method=Ljava/lang/System;logI(Ljava/lang/String;)V'" "'--method=Ljava/lang/System;log(CLjava/lang/String;Ljava/lang/Throwable;)V'" adb shell dex2oatd --boot-dex-file=/system/framework/core.jar --boot=/system/framework/boot.oat --dex-file=/system/framework/art-test-dex-HelloWorld.jar --image=/system/framework/art-test-dex-HelloWorld.oat adb shell oatexecd -Xbootclasspath:/system/framework/core.jar -Xbootimage:/system/framework/boot.oat -classpath /system/framework/art-test-dex-HelloWorld.jar -Ximage:/system/framework/art-test-dex-HelloWorld.oat HelloWorld 09-05 17:58:18.912 2385 2385 I System : Hello, world! Change-Id: I53e534068584f0c3a837313e4d517a0e4a7154fc