Blogs (1) >>
ICSE 2019
Sat 25 - Fri 31 May 2019 Montreal, QC, Canada
Fri 31 May 2019 15:00 - 15:20 at Duluth - API Analysis Chair(s): Sam Malek

Java is a safe programming language by providing bytecode verification and enforcing memory protection. For instance, programmers cannot directly access the memory but have to use object references. Yet, the Java runtime provides an Unsafe API as a backdoor for the developers to access the low-level system code. Whereas the Unsafe API is designed to only be used by the Java core library, a growing community of third-party libraries uses it to achieve high performance. The Unsafe API is powerful, but dangerous, which can lead to data corruption, resource leaks, and difficult-to-diagnose JVM crash if used improperly.

In this work, we study the Unsafe crash patterns and propose a memory checker to enforce the memory safety, thus avoiding the JVM crash caused by the misuse of the Unsafe API at the bytecode level. We evaluate our technique on real crash cases from the open JDK bug system and real-world applications from the JVM team of Alibaba. Our tool reduces the efforts from several days to a few minutes for the developers to diagnose the Unsafe related crashes. We also evaluate the runtime overhead of our tool on projects using intensive Unsafe operations, and the result shows that our tool causes a negligible perturbation to the execution of the applications.

Fri 31 May

icse-2019-Paper-Presentations
14:00 - 15:30: Papers - API Analysis at Duluth
Chair(s): Sam MalekUniversity of California, Irvine
icse-2019-Technical-Papers14:00 - 14:20
Talk
Ming WenThe Hong Kong University of Science and Technology, Yepang LiuSouthern University of Science and Technology, Rongxin WuDepartment of Computer Science and Engineering, The Hong Kong University of Science and Technology, Xuan XieSchool of Data and Computer Science, Sun Yat-sen University, Guangzhou, China, Shing-Chi CheungDepartment of Computer Science and Engineering, The Hong Kong University of Science and Technology, Zhendong SuETH Zurich
icse-2019-Demonstrations14:20 - 14:40
Demonstration
Zuxing GuSchool of Software, Tsinghua University, Jiecheng WuTsinghua University, Li ChiTsinghua University, Min ZhouTsinghua University, Yu Jiang, Ming GuTsinghua University, Jiaguang Sun
Pre-print
icse-2019-Technical-Papers14:40 - 15:00
Talk
Lili WeiThe Hong Kong University of Science and Technology, Yepang LiuSouthern University of Science and Technology, Shing-Chi CheungDepartment of Computer Science and Engineering, The Hong Kong University of Science and Technology
Pre-print
icse-2019-Technical-Papers15:00 - 15:20
Talk
Shiyou HuangTexas A&M University, Jianmei GuoAlibaba Group, Sanhong LiAlibaba Inc., Xiang LiAlibaba, Yumin QiAlibaba, Kingsum Chow, Jeff HuangTexas A&M University
icse-2019-Paper-Presentations15:20 - 15:30
Talk