کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
4951755 1441607 2017 29 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
End-user abstractions for meta-control: Reifying the reflectogram
ترجمه فارسی عنوان
انتزاع کاربر نهایی برای متا کنترل: اصلاح بازتابنده
کلمات کلیدی
بازتاب، شجاعت، بازتاباگرام کنترل دقیق،
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
چکیده انگلیسی
Reflective facilities in OO languages are used both for implementing language extensions (such as AOP frameworks) and for supporting new programming tools and methodologies (such as object-centric debugging and message-based profiling). Yet controlling the runtime behavior of these reflective facilities introduces several challenges, such as computational overhead, the possibility of meta-recursion and an unclean separation of concerns between base and meta-level. In this paper we present five dimensions of meta-level control from related literature that try to remedy these problems. These dimensions are namely: temporal and spatial control, placement control, level control and identity control. We then discuss how these dimensions interact with language semantics in class-based OO languages in terms of: scoping, inheritance and first-class entities. We argue that the reification of the descriptive notion of reflectogram can unify the control of meta-level execution in all these five dimensions while expressing properly the underlying language semantics. We present an extended model for the reification of the reflectogram based on our additional analysis and validate our approach through a new prototype implementation that relies on byte-code instrumentation. Finally, we illustrate our approach through a case study on runtime tracing.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Science of Computer Programming - Volume 140, 15 June 2017, Pages 2-16
نویسندگان
, , , ,