ACM Home Page
Please provide us with feedback. Feedback
Unreachable procedures in object-oriented programming
Full text PdfPdf (579 KB)
Source ACM Letters on Programming Languages and Systems (LOPLAS) archive
Volume 1 ,  Issue 4  (December 1992) table of contents
Pages: 355 - 364  
Year of Publication: 1992
ISSN:1057-4514
Author
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 8,   Downloads (12 Months): 48,   Citation Count: 14
Additional Information:

abstract   references   cited by   index terms  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/161494.161517
What is a DOI?

ABSTRACT

Unreachable procedures are procedures that can never be invoked. Their existence may adversely affect the performance of a program. Unfortunately, their detection requires the entire program to be present. Using a long-time code modification system, we analyze large, linked, program modules of C++, C, and Fortran. We find that C++ programs using object-oriented programming style contain a large fraction of unreachable procedure code. In contrast, C and Fortran programs have a low and essentially constant fraction of unreachable code. In this article, we present our analysis of C++, C, and Fortran programs, and we discuss how object-oriented programming style generates unreachable procedures.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
AMERICAN NATIONAL STANDARD INSTITUTE. 1966. ANSI Standard Fortran. ANSI, New York.
 
2
 
3
BOBROW, D. G., AND STEFIK, M.J. 1983.The LOOPS Manual. Xerox Corporation, Palo Alto, Calif.
4
 
5
 
6
 
7
8
 
9
 
10
SRIVASTAVA, A. 1985. SCOOPS: Scheme object-oriented programming system. Rep. CSL-23, Texas Instruments, Dallas, Tex.
 
11
SRIVASTAVA, A., AND WALL, D.W. 1993. A practical system for intermodule code optimization at link-time. J. Program. Lang. 1 (Mar.), 1-18. Also available as WRL Research Report 92/6, December 1992.
 
12
 
13
TEXAS INSTRUMENTS. 1985. TI Scheme Language Reference Manual. Texas Instruments, Austin, Tex.
 
14

CITED BY  14