• DocumentCode
    2539227
  • Title

    Declassification: transforming Java programs to remove intermediate classes

  • Author

    Power, Bernadette ; Hamilton, G.W.

  • Author_Institution
    Dept. of Comput. & Networking, Carlow Inst. of Technol., Ireland
  • fYear
    2005
  • fDate
    30 Sept.-1 Oct. 2005
  • Firstpage
    183
  • Lastpage
    192
  • Abstract
    This paper presents an optimisation technique which automatically inlines certain classes within their enclosing class. Inlining a class involves inserting the fields and methods of this class into the body of its enclosing class. The enclosing class is the class which declared an instance of the class. The declaration of the inlined class can then be removed from the program. This technique transforms Java programs into an equivalent form, which may be less readable, but is more efficient. The results of the empirical study showed that few classes were found suitable for inlining and that the declassification was not overly successful when optimizing the test programs. One of the advantages of declassification is that it does not result in code bloating. It is thought that further extensions to the declassification technique and an intrinsically object-oriented set of test programs could greatly improve its effectiveness.
  • Keywords
    Java; optimisation; program interpreters; Java program transformation; class inlining; declassification technique; intermediate classes; program optimisation; Algorithm design and analysis; Application software; Computer applications; Computer networks; Data structures; Dynamic programming; Java; Object oriented modeling; Object oriented programming; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Source Code Analysis and Manipulation, 2005. Fifth IEEE International Workshop on
  • Print_ISBN
    0-7695-2292-0
  • Type

    conf

  • DOI
    10.1109/SCAM.2005.7
  • Filename
    1541170