کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
433838 1441677 2014 23 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Conditional termination of loops over heap-allocated data
ترجمه فارسی عنوان
خاتمه محتوا از حلقه ها بر روی داده های اختصاص داده شده بشکه؟
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
چکیده انگلیسی


• Termination of programs that depends on heap-allocated data.
• A reference constancy analysis to infer constant access paths heap data.
• Notion of locality partition to guarantee the locality of heap-allocated data.
• Inferring the aliasing preconditions to guarantee termination.
• Implementation and experimental evaluation of our approach in the COSTA system.

Static analysis which takes into account the values of data stored in the heap is considered complex and computationally intractable in practice. Thus, most static analyzers do not keep track of object fields nor of array contents, i.e., they are heap-insensitive. In this article, we propose locality conditions for soundly tracking heap-allocated data in Java (bytecode) programs, by means of ghost non-heap allocated variables. This way, heap-insensitive analysis over the transformed program can infer information on the original heap-allocated data without sacrificing efficiency. If the locality conditions cannot be proven unconditionally, we seek to generate aliasing preconditions which, when they hold in the initial state, guarantee the termination of the program. Experimental results show that we greatly improve the accuracy w.r.t. a heap-insensitive analysis while the overhead introduced is reasonable.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Science of Computer Programming - Volume 92, Part A, 15 October 2014, Pages 2–24
نویسندگان
, , , , ,