JS']JShrink: In-Depth Investigation into Debloating Modern Java']Java Applications
被引:28
|
作者:
Bruce, Bobby R.
论文数: 0引用数: 0
h-index: 0
机构:
Univ Calif Davis, Davis, CA 95616 USAUniv Calif Davis, Davis, CA 95616 USA
Bruce, Bobby R.
[1
]
Zhang, Tianyi
论文数: 0引用数: 0
h-index: 0
机构:
Harvard Univ, Cambridge, MA 02138 USAUniv Calif Davis, Davis, CA 95616 USA
Zhang, Tianyi
[2
]
Arora, Jaspreet
论文数: 0引用数: 0
h-index: 0
机构:
Univ Calif Los Angeles, Los Angeles, CA 90024 USAUniv Calif Davis, Davis, CA 95616 USA
Arora, Jaspreet
[3
]
Xu, Guoqing Harry
论文数: 0引用数: 0
h-index: 0
机构:
Univ Calif Los Angeles, Los Angeles, CA 90024 USAUniv Calif Davis, Davis, CA 95616 USA
Xu, Guoqing Harry
[3
]
Kim, Miryung
论文数: 0引用数: 0
h-index: 0
机构:
Univ Calif Los Angeles, Los Angeles, CA 90024 USAUniv Calif Davis, Davis, CA 95616 USA
Kim, Miryung
[3
]
机构:
[1] Univ Calif Davis, Davis, CA 95616 USA
[2] Harvard Univ, Cambridge, MA 02138 USA
[3] Univ Calif Los Angeles, Los Angeles, CA 90024 USA
来源:
PROCEEDINGS OF THE 28TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '20)
|
2020年
Modern software is bloated. Demand for new functionality has led developers to include more and more features, many of which become unneeded or unused as software evolves. This phenomenon, known as software bloat, results in software consuming more resources than it otherwise needs to. How to effectively and automatically debloat software is a long-standing problem in software engineering. Various debloating techniques have been proposed since the late 1990s. However, many of these techniques are built upon pure static analysis and have yet to be extended and evaluated in the context of modern Java applications where dynamic language features are prevalent. To this end, we develop an end-to-end bytecode debloating framework called JSHRINK. It augments traditional static reachability analysis with dynamic profiling and type dependency analysis and renovates existing bytecode transformations to account for new language features in modern Java. We highlight several nuanced technical challenges that must be handled properly and examine behavior preservation of debloated software via regression testing. We find that (1) JSHRINK is able to debloat our real-world Java benchmark suite by up to 47% (14% on average); (2) accounting for dynamic language features is indeed crucial to ensure behavior preservation-reducing 98% of test failures incurred by a purely static equivalent, Jax, and 84% for ProGuard; and (3) compared with purely dynamic approaches, integrating static analysis with dynamic profiling makes the debloated software more robust to unseen test executions-in 22 out of 26 projects, the debloated software ran successfully under new tests.
机构:
PG and Research Department of Chemistry, Presidency College, Tamil Nadu, Chennai,600 005, IndiaPG and Research Department of Chemistry, Presidency College, Tamil Nadu, Chennai,600 005, India
Premkumar, A.
Sridevi, B.
论文数: 0引用数: 0
h-index: 0
机构:
PG and Research Department of Chemistry, Presidency College, Tamil Nadu, Chennai,600 005, IndiaPG and Research Department of Chemistry, Presidency College, Tamil Nadu, Chennai,600 005, India
Sridevi, B.
Mohan, K.S.
论文数: 0引用数: 0
h-index: 0
机构:
Department of Physics, Nandha Engineering College (Autonomous), Tamil Nadu, Erode,638 052, IndiaPG and Research Department of Chemistry, Presidency College, Tamil Nadu, Chennai,600 005, India