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.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.