Treffer: Aspect Weaving in Standard Java Class Libraries

Title:
Aspect Weaving in Standard Java Class Libraries
Contributors:
The Pennsylvania State University CiteSeerX Archives
Publisher Information:
ACM Press
Publication Year:
2008
Collection:
CiteSeerX
Subject Terms:
Document Type:
Fachzeitschrift text
File Description:
application/pdf
Language:
English
Rights:
Metadata may be used without restrictions as long as the oai identifier remains attached to it.
Accession Number:
edsbas.4BFA059E
Database:
BASE

Weitere Informationen

Aspect-oriented programming (AOP) has been successfully applied to application code thanks to techniques such as Java bytecode instrumentation. Unfortunately, with current technology, such as AspectJ, aspects cannot be woven into standard Java class libraries. This restriction is particularly unfortunate for aspects that would benefit from a complete bytecode coverage, such as profiling or debugging aspects. In this paper we present an adaptation of the popular As-pectJ weaver that is able to weave aspects also into standard Java class libraries. We evaluate our approach with existing profiling aspects, which now cover all bytecode executing in the virtual machine. In addition, we present a new aspect for memory leak detection that also benefits from our approach.