8494 articles  [english version]

inria-00073102, version 1

Towards Automatic Specialization of Java Programs

Ulrik Pagh Schultz a1, Julia L. Lawall, Charles Consel () b1, Gilles Muller a1

N° RR-3579 (1998)

  • a –  INRIA
  • b –  Université Rennes I
  • 1 :  COMPOSE (INRIA - IRISA)

  • INRIA – CNRS – Institut National des Sciences Appliquées (INSA) - Rennes – Université de Rennes 1 France

Références bibliographiques

  • Type de publication : Rapports
  • Domaine : Informatique/Autre
  • Titre : Towards Automatic Specialization of Java Programs
  • Résumé : Automatic program specialization can derive efficient implementations from generic components, thus reconciling the often opposing goals of genericity and efficiency. This technique has proved useful within the domain of imperative languages, but so far it has not been explored within the domain of object-oriented languages. We present experiments in the specialization of Java programs. We demonstrate how to construct a program specializer for Java programs from an existing specializer for C programs and a Java-to-C compiler. Specialization is managed using a declarative approach that abstracts over the optimization process and masks implementation details. Our experiments show that program specialization provides a four-time- s speedup of an image-filtering program. Based on these experiments, we identify optimizations of object-oriented programs that can be carried out by automatic program specialization. We argue that program specialization is useful in the field of software components, allowing a generic component to be specialized to a specific configuration.
  • Langue du document : Anglais
  • Type de rapport : Rapport de recherche
  • Date de publication : 1998
  • Mots-clés : JAVA / PROGRAM SPECIALIZATION / OBJECT-ORIENTED PROGRAMMING / SOFTWARE COMPONENTS
  • Date de rédaction : 1998
  • Référence interne : RR-3579

Liste des fichiers attachés à ce document :

PS
RR-3579.ps(477.1 KB)
PDF
RR-3579.pdf(268.3 KB)
 
  • inria-00073102, version 1
  • oai:hal.inria.fr:inria-00073102
  • Contributeur : 
  • Soumis le : Mercredi 24 Mai 2006, 11:52:01
  • Dernière modification le : Lundi 29 Janvier 2007, 16:15:52