Complexity of Points-To Analysis of Java in the Presence of Exceptions

نویسندگان

  • Ramkrishna Chatterjee
  • Barbara G. Ryder
  • William Landi
چکیده

At each program point, points-to analysis for statically typed object-oriented programming languages (e.g., Java, C) determines those objects to which a reference may refer (or a pointer may point) during execution. Points-to analysis is necessary for any semantics-based software tools for object-oriented systems. Our new complexity results for points-to analysis distinguish the difficulty of intraprocedural and interprocedural points-to analyses for languages with combinations of single-level types (i.e., types with data members only of primitive type), exceptions with or without subtyping, and dynamic dispatch. Our results include: • The first polynomial-time algorithm for points-to analysis in the presence of exceptions that handles a robust subset of Java without threads and can be applied to C; • Proofs that the above algorithm is safe in general and provably precise on programs with single-level types and exceptions without subtyping, but not dynamic dispatch; thus this case is in P; • Proof that interprocedural points-to analysis problem with single-level types and exceptions with subtyping, but without dynamic dispatch, is PSPACE-hard, while the intraprocedural problem is PSPACE-complete. Other complexity characterizations of points-to analysis in programs without exceptions are presented, including an algorithm with worst-case bound of O(n), which improves over the O(n) worst-case bound achievable from previous approaches of Reps, Horwitz and Sagiv [RHS95] and Landi and Ryder [LR91].

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A history of Floral diversity (pollen, spores and algal) during the latest Holocene in the Bandung basin based on palynological analysis in Cihideung, West Java, Indonesia

   Floral diversity is a measure of number of type flora in an area, and reflects how vegetation develops in response to the environmental condition during a certain time interval. The present study aims to examine changes in the diversity of vegetation (pollen, spores and algae), evenness, and similarity in the Bandung Basin through a core of 240 cm depth using a ground drill, as well as  the ...

متن کامل

Enhanced Predictions of Tides and Surges through Data Assimilation (TECHNICAL NOTE)

The regional waters in Singapore Strait are characterized by complex hydrodynamic phenomena as a result of the combined effect of three large water bodies viz. the South China Sea, the Andaman Sea, and the Java Sea. This leads to anomalies in water levels and generates residual currents. Numerical hydrodynamic models are generally used for predicting water levels in the ocean and seas. But thei...

متن کامل

Complexity of Concrete Type-Inference in the Presence of Exceptions

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. A precise compile-time solution for this problem requires a ow-sensitive analysis. Our new complexity results for concrete type-inference distinguish the diiculty of the intra...

متن کامل

Difference Effectiveness of Progressive Muscle Relaxation Therapy and Endorphin Massage Therapy towards Reducing Menstrual Pain Intensity in Adolescents

Background: Problems that arise during menstruation include pain before or during menstruation. Progressive Muscle Relaxation (PMR) techniques and Endorphin Massage (EM) therapy have been shown to be effective in controlling menstrual pain. The purpose of this study was to determine the difference in the effectiveness of pain intensity carried out by PMR therapy and EM therapy. Methods: Quasi...

متن کامل

Multivariate Analysis of Morphological Traits of Local Goats in Central Java, Indonesia

The objective of this research was to discriminate four local breeds of goat in Central Java-Indonesia using multivariate analysis. Data from eight morphological traits of four goat breeds, namely Kejobong goat (JG), Etawa Grade goat (EGG), Kacang goat (KG) and Jawarandu goat (RG) originated from Purbalingga, Purworejo, Grobogan and Pemalang regencies, respectively, were used. One hundred and s...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • IEEE Trans. Software Eng.

دوره 27  شماره 

صفحات  -

تاریخ انتشار 2001