Using Reflection to Support Dynamic Adaptation of System Software: A Case Study Driven Evaluation

  • Authors:
  • Jim Dowling;Tilman Schäfer;Vinny Cahill;Peter Haraszti;Barry Redmond

  • Affiliations:
  • -;-;-;-;-

  • Venue:
  • Proceedings of the 1st OOPSLA Workshop on Reflection and Software Engineering: Reflection and Software Engineering, Papers from OORaSE 1999
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

A number of researchers have recently suggested the use of reflection as a means of supporting dynamic adaptation of object-oriented software especially systems software including both middleware and operating systems. In order to evaluate the use of reflection in this context we have implemented a resource manager that can be adapted to use different resource management strategies on behalf of its clients using three distinct technologies: design patterns, dynamic link libraries, and reflection. In this paper we report on this experiment and compare the three approaches under performance, ability to separate functional code from code concerned with adaptation, and programming effort. We conclude that although the overhead of using reflection may be high, reflection offers significant advantages in terms of the ability to separate functional and adaptation code.