Colección SciELO Chile

Departamento Gestión de Conocimiento, Monitoreo y Prospección
Consultas o comentarios: productividad@anid.cl
Búsqueda Publicación
Búsqueda por Tema Título, Abstract y Keywords



MethodProxies: A Safe and Fast Message-Passing Control Library
Indexado
Scopus SCOPUS_ID:85216019403
DOI
Año 2024
Tipo

Citas Totales

Autores Afiliación Chile

Instituciones Chile

% Participación
Internacional

Autores
Afiliación Extranjera

Instituciones
Extranjeras


Abstract



The injection of monitoring code allows for real-time observation of the program, which has proven instrumental in developing tools that assist developers with various programming tasks. In dynamic languages such as Pharo, renowned for their rich meta-programming capabilities and dynamic method dispatch, such monitoring capabilities are particularly valuable. Message-passing control techniques are commonly used to monitor program execution at the method level, involving the execution of specific code before and after each method invocation. Implementing message-passing control techniques, however, poses many challenges, notably in terms of instrumentation overhead. Additionally, it is crucial for the message-passing mechanism to be safe: i.e., to accommodate recursive and reflective scenarios to ensure that it does not alter the execution of the monitored program, which could potentially lead to infinite loops or other unintended consequences. Over the years, numerous techniques have been proposed to optimize message-passing control. This paper introduces MethodProxies, a message-passing instrumentation library that offers minimal overhead and is safe. We conduct a comparison between MethodProxies and two commonly used techniques implemented in the Pharo programming language: method substitution using the run:with:in:hook and source code modification. Our results demonstrate that MethodProxies offers significantly lower overhead compared to the other two techniques and is safe against infinite recursion.

Disciplinas de Investigación



WOS
Sin Disciplinas
Scopus
Sin Disciplinas
SciELO
Sin Disciplinas

Muestra la distribución de disciplinas para esta publicación.

Publicaciones WoS (Ediciones: ISSHP, ISTP, AHCI, SSCI, SCI), Scopus, SciELO Chile.

Colaboración Institucional



Muestra la distribución de colaboración, tanto nacional como extranjera, generada en esta publicación.


Autores - Afiliación



Ord. Autor Género Institución - País
1 Montaño, Sebastian Jordan - Université de Lille - Francia
2 Alcocer, Juan Pablo Sandoval - Pontificia Universidad Católica de Chile - Chile
3 Polito, Guillermo - Université de Lille - Francia
4 Ducasse, Stéphane - Université de Lille - Francia
5 Tesone, Pablo - Université de Lille - Francia

Muestra la afiliación y género (detectado) para los co-autores de la publicación.

Financiamiento



Fuente
Pontificia Universidad Católica de Chile
Vicerrectoría Académica y Prorrectoría

Muestra la fuente de financiamiento declarada en la publicación.

Agradecimientos



Agradecimiento
We want to thank the Programa de Inserci\u00F3n Acad\u00E9mica 2022, Vicerrector\u00EDa Acad\u00E9mica y Prorrector\u00EDa, at the Pontificia Universidad Cat\u00F3lica de Chile. We also extend our gratitude to the European Smalltalk User Group (ESUG) for financing part of this work.

Muestra la fuente de financiamiento declarada en la publicación.