Publication | Closed Access
Evaluation of Android Dalvik virtual machine
46
Citations
7
References
2012
Year
Unknown Venue
EngineeringComputer ArchitectureSoftware EngineeringSoftware AnalysisHardware VirtualizationSystems EngineeringDalvik Virtual MachineComputer EngineeringComputer ScienceMobile ComputingReal-time JavaPerformance Analysis ToolDalvik VmProgram AnalysisSoftware TestingCloud ComputingVirtualization ToolPerformance PortabilitySlow Dalvik VmSystem SoftwareVirtual Machine
More than half of the smart phones world-wide are currently employing the Android platform, which employs Java for programming its applications. The Android Java is to be executed by the Dalvik virtual machine (VM), which is quite different from the traditional Java VM such as Oracle's HotSpot VM. That is, Dalvik employs register-based bytecode while HotSpot employs stack-based bytecode, requiring a different way of interpretation. Also, Dalvik uses trace-based just-in-time compilation (JITC), while HotSpot uses method-based JITC. Therefore, it is questioned how the Dalvik VM performs compared the HotSpot VM. Unfortunately, there has been little comparative evaluation of both VMs, so the performance of the Dalvik VM is not well understood. More importantly, it is also not well understood how the performance of the Dalvik VM affects the overall performance of the Android applications (apps). In this paper, we make an attempt to evaluate the Dalvik VM. We install both VMs on the same board and compare the performance using EEMBC benchmark. Our results show that Dalvik slightly outperforms HotSpot in the interpreter mode due to its register-based bytecode. In the JITC mode, however, Dakvik is slower than HotSpot by more than 2.9 times and its generated code size is not smaller than HotSpot's due to its worse code quality and trace-chaining code. We also investigated how real Android apps are different from Java benchmarks, to understand why the slow Dalvik VM does not affect the performance of the Android apps seriously.
| Year | Citations | |
|---|---|---|
Page 1
Page 1