Using aspectC to improve the modularity of path-specific customization in operating system code

  • Authors:
  • Yvonne Coady;Gregor Kiczales;Mike Feeley;Greg Smolyn

  • Affiliations:
  • University of British Columbia;University of British Columbia;University of British Columbia;University of British Columbia

  • Venue:
  • Proceedings of the 8th European software engineering conference held jointly with 9th ACM SIGSOFT international symposium on Foundations of software engineering
  • Year:
  • 2001

Quantified Score

Hi-index 0.02

Visualization

Abstract

Layered architecture in operating system code is often compromised by execution path-specific customizations such as prefetching, page replacement and scheduling strategies. Path-specific customizations are difficult to modularize in a layered architecture because they involve dynamic context passing and layer violations. Effectively they are vertically integrated slices through the layers. An initial experiment using an aspect-oriented programming language to refactor prefetching in the FreeBSD operating system kernal shows significant benefits, including easy (un)pluggability of prefetching modes, independent development of prefetching modes, and overall improved comprehensibility.