Currently, it's possible to dynamically load .dex
classfiles into Android's Dalvik VM. This could probably also be used for dynamic code generation at runtime.
Is this still possible with the upcoming ART runtime?
Currently, it's possible to dynamically load .dex
classfiles into Android's Dalvik VM. This could probably also be used for dynamic code generation at runtime.
Is this still possible with the upcoming ART runtime?
It seems to work just like it did with Dalvik.
Thanks to matiash for referencing the I/O 2014 talk! I've watched the video recording of it, and here is what the developers have to say on runtime code loading (taken from the transcript):