Title :
Semantics-directed implementation of method-call interception
Author :
Lammel, Ralf ; Stenzel, C.
Author_Institution :
Vrije Univ., Amsterdam, Netherlands
fDate :
4/5/2004 12:00:00 AM
Abstract :
The authors describe a form of method-call interception (MCI) that allows the programmer to superimpose extra functionality onto method calls at run-time. They provide a reference semantics and a reference implementation for corresponding language constructs. The setup applies to class-based, statically typed, compiled languages such as Java. The semantics of MCI is used to direct a language implementation with a number of valuable properties: simplicity of the implementational model, run-time adaptation capabilities, static type safety, separate compilation and reasonable performance. The authors´ implementational development employs source-code instrumentation. They start from a naive implementational model, which is subsequently refined to optimise program execution. The implementation is assessed via benchmarks.
Keywords :
Java; program compilers; programming language semantics; subroutines; Java; MCI; method call interception; run time adaption capacity; source code implementation; static type safety;
Journal_Title :
Software, IEE Proceedings -
DOI :
10.1049/ip-sen:20040080