Logo image
Modular Concrete Type-Inference for Statically Typed Object-oriented Programming Languages
Technical documentation   Open access

Modular Concrete Type-Inference for Statically Typed Object-oriented Programming Languages

Ramkrishna Chatterjee and Barbara G. Ryder
Rutgers University
1998
DOI:
https://doi.org/10.7282/T3154MM5

Abstract

The problem of concrete type-inference for statically typed object-oriented programming languages (e.g., Java, C++) determines at each program point, those objects to which a reference may refer or a pointer may point during execution. We present a new technique called analysis-using-abstract-values which performs modular and demand driven concrete type-inference of a robust subset of Java without threads and exceptions and C++ without exceptions. Our algorithm is provably precise on programs with only single-level types2 and without dynamic dispatch, and has the worst-case complexity of O(n4 ) which is an improvement over the O(n7 ) worst-case bound achievable by applying previous approaches of [RHS95] and [LR91] to this case. For general programs, the algorithm is polynomial-time and computes a safe solution.
pdf
dcs-tr-349321.23 kBDownloadView
Version of Record (VoR) Technical Documentation Open Access
url
Report an accessibility issueView
Please complete a content remediation request to report an accessibility issue with a library electronic resource, website, or service.

Metrics

112 File downloads
86 Record Views

Details

Logo image