Mostrar el registro sencillo del ítem

Data from "Efficient Runtime Aspect Weaving for Java Applications"

dc.contributor.authorRodríguez Prieto, Óscar 
dc.contributor.authorOrtín Soler, Francisco 
dc.contributor.authorO'Shea, Donna
dc.date.accessioned2025-01-10T11:41:14Z
dc.date.available2025-01-10T11:41:14Z
dc.date.issued2017-11-08
dc.identifier.urihttps://hdl.handle.net/10651/76126
dc.descriptionData from the article "O. Rodriguez-Prieto, F. Ortin, D. O'Shea. Efficient Runtime Aspect Weaving for Java Applications. Information and Software Technology (100), pp. 73-86, 2018. https://doi.org/10.1016/j.infsof.2018.03.012"spa
dc.description.abstractContext: The aspect-oriented paradigm is aimed at solving the code scattering and tangling problem, providing new mechanisms to support better separation of concerns. For specific scenarios where high runtime adaptability is an important requirement, dynamic Aspect-Oriented Programming (AOP) represents a useful tool. With dynamic AOP, components and aspects can be woven and unwoven at runtime, enabling applications greater responsiveness when dealing with different or changing requirements. However, this responsiveness typically incurs a cost in terms of runtime performance and memory consumption. Objective: Build an efficient dynamic aspect weaver for Java that provides the best runtime performance compared to the existing approaches, minimum memory overhead consumption, and similar functionalities to the widespread runtime weavers. Method: We design and implement weaveJ, a dynamic aspect weaver for Java. This dynamic weaver leverages the invokedynamic opcode introduced in Java 7, which allows dynamic relinkage of method and field access. We compare the functionalities of weaveJ with the existing dynamic weavers for Java, and evaluate their runtime performance and memory consumption. Results: weaveJ shows the best runtime performance for all benchmarks and real applications executed. Method interception with invokedynamic is at least 142% faster than the techniques used by the existing runtime weavers. The average cost of dynamic weaving using invokedynamic is only 2.2% for short running programs, and 1.5% for long running applications. Moreover, the use of aspects in weaveJ does not imply additional memory consumption. Conclusion: The dynamic aspect weaver implemented demonstrates that invokedynamic is a suitable mechanism to provide efficient runtime aspect weaving for Java applications. Moreover, it supports concurrent and programmatic aspect (un)weaving at any point of execution, a wide set of join points, class and object weaving, and allow aspects to have their own state. Neither the Java language nor the virtual machine needs to be modified.spa
dc.description.sponsorshipThis work has been funded by the European Union, through the European Regional Development Funds (ERDF), and the Principality of Asturias, through its Science, Technology and Innovation Plan (Grant GRUPIN14-100). The work of Oscar Rodriguez-Prieto was also supported by the Spanish Ministry of Education, Culture and Sport under an FPU grant (FPU15/05261).spa
dc.language.isoengspa
dc.publisherInformation and Software Technology (Elsevier)spa
dc.relation.ispartofhttp://hdl.handle.net/10651/47136spa
dc.relation.isreferencedbyO. Rodriguez-Prieto, F. Ortin, D. O'Shea. Efficient Runtime Aspect Weaving for Java Applications. Information and Software Technology (100), pp. 73-86, 2018. https://doi.org/10.1016/j.infsof.2018.03.012spa
dc.rightsOpen Data Commons Attribution License (ODC-By)spa
dc.rights© Los/as autores/as
dc.subjectRuntime adaptationspa
dc.subjectAspect weavingspa
dc.subjectInvokedynamicspa
dc.subjectAspect-oriented programmingspa
dc.subjectJavaspa
dc.subjectRuntime performancespa
dc.titleData from "Efficient Runtime Aspect Weaving for Java Applications"spa
dc.typedatasetspa
dc.identifier.doi10.17811/ruo_datasets.76126
dc.relation.projectIDinfo:eu-repo/grantAgreement/MECD//FPU15%2F05261/ES/FPU15%2F05261/ spa
dc.relation.projectIDinfo:eu-repo/grantAgreement/Gobierno del Principado de Asturias//GRUPIN14-100/ES/COMPUTATIONAL REFLECTION/ spa
dc.rights.accessRightsopen accessspa
dc.relation.ispartofURIhttp://hdl.handle.net/10651/47136
dc.publication.year2017


Ficheros en el ítem

untranslated
untranslated

Este ítem aparece en la(s) siguiente(s) colección(ones)

Mostrar el registro sencillo del ítem