MAJOR: AN ASPECT WEAVER WITH FULL COVERAGE SUPPORT

dc.contributor.authorAlex Villazón
dc.contributor.authorWalter Binder
dc.contributor.authorDanilo Ansaloni
dc.coverage.spatialBolivia
dc.date.accessioned2026-03-22T17:38:00Z
dc.date.available2026-03-22T17:38:00Z
dc.date.issued2011
dc.description.abstractPrevailing Aspect-Oriented Programming (AOP) frameworks for Java, such as AspectJ, use bytecode instrumentation techniques to weave aspects into application code. Unfortunately, those frameworks do not support weaving in the Java class library. When implementing aspect-based tools, such as profilers, debugger, or dynamic program analysis tools in general, the aforementioned restriction becomes an important limitation for successfully applying AOP.In this article we present MAJOR, an aspect weaver with full coverage support. That is, MAJOR ensures that aspects are woven into all classes loaded in a Java Virtual Machine, including those in the standard Java class library. We describe the intricacies of instrumentation of the Java class library and present an extended instrumentation approach allowing the user to choose between a pure Java weaving solution based on a two-phases instrumentation scheme, or a single-phase one requiring a tiny native code layer. The single-phase approach allows to better isolate the weaving process from the execution of the woven code.
dc.identifier.doi10.23881/idupbo.011.1-8i
dc.identifier.urihttps://doi.org/10.23881/idupbo.011.1-8i
dc.identifier.urihttps://andeanlibrary.org/handle/123456789/65330
dc.language.isoen
dc.relation.ispartofRevista Investigación & Desarrollo
dc.sourceUniversidad Privada Boliviana
dc.subjectBytecode
dc.subjectJava
dc.subjectAspectJ
dc.subjectAspect-oriented programming
dc.subjectInstrumentation (computer programming)
dc.subjectComputer science
dc.subjectWeaving
dc.subjectProgramming language
dc.subjectJava annotation
dc.subjectReal time Java
dc.titleMAJOR: AN ASPECT WEAVER WITH FULL COVERAGE SUPPORT
dc.typearticle

Files