دانلود مقاله ISI انگلیسی شماره 108736
ترجمه فارسی عنوان مقاله

بهینه سازی کلاس بهینه در زمان مناسب برای کاهش مصرف حافظه و بهبود عملکرد اجرای زمان اجرا

عنوان انگلیسی
Adaptive just-in-time value class optimization for lowering memory consumption and improving execution time performance
کد مقاله سال انتشار تعداد صفحات مقاله انگلیسی
108736 2017 13 صفحه PDF
منبع

Publisher : Elsevier - Science Direct (الزویر - ساینس دایرکت)

Journal : Science of Computer Programming, Volume 140, 15 June 2017, Pages 17-29

پیش نمایش مقاله
پیش نمایش مقاله  بهینه سازی کلاس بهینه در زمان مناسب برای کاهش مصرف حافظه و بهبود عملکرد اجرای زمان اجرا

چکیده انگلیسی

The performance of value classes is highly dependent on how they are represented in the virtual machine. Value class instances are immutable, have no identity, and can only refer to other value objects or primitive values and since they should be very lightweight and fast, it is important to optimize them carefully. In this paper we present a technique to detect and compress common patterns of value class usage to improve memory usage and performance. The technique identifies patterns of frequent value object references and introduces abbreviated forms for them. This allows to store multiple inter-referenced value objects in an inlined memory representation, reducing the overhead stemming from meta-data and object references. Applied to a small prototype and an implementation of the Racket language, we found improvements in memory usage and execution time for several micro-benchmarks.