arrow
Return

Refactoring Android Java Code for On-Demand Computation Offloading

delete2012-10-19
delete86
delete
OA
AI
张
张影 (Ying Zhang)
G
Gang Huang *
X
Xuanzhe Liu
W
Wei Zhang
H
Hong Mei
S
Shunxiang Yang
DOI:10.1145/2398857.2384634delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Computation offloading is a promising way to improve the performance as well as reducing the battery power consumption of a smartphone application by executing some parts of the application on a remote server. Supporting such capability is not easy for smartphone application developers due to (1) correctness: some code, e. g., that for GPS, gravity, and other sensors, can run only on the smartphone so that developers have to identify which parts of the application cannot be offloaded; (2) effectiveness: the reduced execution time must be greater than the network delay caused by computation offloading so that developers need to calculate which parts are worth offloading; (3) adaptability: smartphone applications often face changes of user requirements and runtime environments so that developers need to implement the adaptation on offloading. More importantly, considering the large number of today's smartphone applications, solutions applicable for legacy applications will be much more valuable. In this paper, we present a tool, named DPartner, that automatically refactors Android applications to be the ones with computation offloading capability. For a given Android application, DPartner first analyzes its bytecode for discovering the parts worth offloading, then rewrites the bytecode to implement a special program structure supporting on-demand offloading, and finally generates two artifacts to be deployed onto an Android phone and the server, respectively. We evaluated DPartner on three real-world Android applications, demonstrating the reduction of execution time by 46%-97% and battery power consumption by 27%-83%.
Keywords:
Experimentation
Languages
Performance
computation offloading
bytecode refactoring
energy
Android
An adaptive offloading framework for Android applications in mobile edge computing
err2019-07-12
err40
PREAI
errChen, Xing; Chen, Shihong; Ma, Yun; Liu, Bichun; Zhang, Ying; Huang, Gang
errShare
errSave
Energy Refactorings for Android in the Large and in the Wild
err2020-02-01
err22
errOAAI
errCouto, Marco; Saraiva, Joao; Fernandes, Joao Paulo
errShare
errSave
errShare
errSave
A longitudinal study of the impact of refactoring in android applications
err2021-12-01
err14
PREAI
errHamdi, Oumayma; Ouni, Ali; Cinneide, Mel O.; Mkaouer, Mohamed Wiem
errShare
errSave
errShare
errSave
Refactoring Android Source Code Smells From Android Applications
err2025-01-01
err0
errOAAI
errFawad, Muhammad; Rasool, Ghulam; Riaz, Muhammad Bilal
errShare
errSave

Journal

A
ACM SIGPLAN Notices
IF:
0
Papers:
32
Citations:
7

Organization

Peking University cover
Peking University
Scholars:
9.2K
Papers: 2.8K
Citations: 7.1W
Cited Papers

Cited Papers

Carbamoylimidazolium and thiocarbamoylimidazolium salts: novel reagents for the synthesis of ureas, thioureas, carbamates, thiocarbamates and amides
err2005-07-01
err0
PREAI
errJustyna A. Grzyb; Ming Shen; Chiaki Yoshina-Ishii; W. Chi; R.Stanley Brown; Robert A. Batey
errShare
errSave
Large-scale hydrothermal synthesis of WO3 nanowires in the presence of K2SO4
err2007-07-01
err0
PREAI
errXu Chun Song; Yi Fan Zheng; E. Yang; Yun Wang
errShare
errSave
Exploring the Effects of an “Everyday” Activity Program on Executive Function and Memory in Older Adults: Experience Corps®
err2008-12-01
err0
errOAAI
errMichelle C. Carlson; Jane S. Saczynski; George W. Rebok; Teresa Seeman; Thomas A. Glass; Sylvia McGill; James Tielsch; Kevin D. Frick; Joel Hill; Linda P. Fried
errShare
errSave
The protooncogene CHOP/GADD153, involved in growth arrest and DNA damage response, is amplified in a subset of human sarcomas
err1994-12-01
err0
PREAI
errAnne Forus; Vivi Ann Flørenes; Gunhild Mari Maelandsmo; Øystein Fodstad; Ola Myklebost
errShare
errSave
researcher View more