Back to search

University of Manitoba

Optimization of object-oriented programs using partial evaluation

Abstract

dc:description.abstract

Object-oriented programming languages foster the development of reusable, extensible class libraries and frameworks. However, heavy use of inheritance and dynamic typing can impose a significant performance overhead compared to the equivalent programs written in a non-object-oriented fashion. Several object-oriented programming languages have been designed and implemented, including C++, Eiffel and Smalltalk. In this thesis, the features of these languages will be examined and their implementations will be studied in detail. Various optimizing techniques have been proposed by several researchers; this thesis provides a detailed analysis of their approaches. This thesis discusses the design of an object-oriented programming language called Safer\sb{-}C with Classes. We also present implementation techniques for a translator to produce efficient target code for programs written in a heavily-object-oriented style, and use these techniques in an actual translator for Safer$\sb{-}$C with Classes. The method consists principally of applying class hierarchy analysis and customization that exploit static information known at compile-time. Sometimes class analysis determines that the receiver of the method invocation can be an instan e of only one class, allowing the dynamically-dispatched method invocation to be replaced with a direct function call at compile-time and further optimized using inline expansion.

Degree

thesis:*
Level thesis:degree_level
Master of Science (M.Sc.)
Discipline thesis:degree_discipline
Computer Science
Year dc:date.issued
1997

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Zhang, Ray L.

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Handle dc:identifier.uri
http://hdl.handle.net/1993/1024

Chain of custody

source
Harvested from
University of Manitoba
Base URL
mspace.lib.umanitoba.ca/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Zhang, Ray L.. Optimization of object-oriented programs using partial evaluation. Master of Science (M.Sc.) thesis, 1997. http://hdl.handle.net/1993/1024