• DocumentCode
    994596
  • Title

    Semantics-directed implementation of method-call interception

  • Author

    Lammel, Ralf ; Stenzel, C.

  • Author_Institution
    Vrije Univ., Amsterdam, Netherlands
  • Volume
    151
  • Issue
    2
  • fYear
    2004
  • fDate
    4/5/2004 12:00:00 AM
  • Firstpage
    109
  • Lastpage
    127
  • 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;
  • fLanguage
    English
  • Journal_Title
    Software, IEE Proceedings -
  • Publisher
    iet
  • ISSN
    1462-5970
  • Type

    jour

  • DOI
    10.1049/ip-sen:20040080
  • Filename
    1301266