A comprehensive approach to array bounds check elimination for Java /

We present a new approach to eliminate array bounds checks in Java by using static analyses. Our approach is based upon a flow-sensitive intraprocedural analysis called variable constraint analysis (VCA). VCA collects constraints between locals related to array references. The array bounds check pro...

Full description

Bibliographic Details
Main Author: Qian, Feng, 1973-
Other Authors: Hendren, Laurie (advisor)
Format: Others
Language:en
Published: McGill University 2001
Subjects:
Online Access:http://digitool.Library.McGill.CA:80/R/?func=dbin-jump-full&object_id=31528
id ndltd-LACETR-oai-collectionscanada.gc.ca-QMM.31528
record_format oai_dc
spelling ndltd-LACETR-oai-collectionscanada.gc.ca-QMM.315282014-02-13T04:03:51ZA comprehensive approach to array bounds check elimination for Java /Qian, Feng, 1973-Computer Science.We present a new approach to eliminate array bounds checks in Java by using static analyses. Our approach is based upon a flow-sensitive intraprocedural analysis called variable constraint analysis (VCA). VCA collects constraints between locals related to array references. The array bounds check problem is formulated as solving a system of difference constraints. The analysis builds a small constraint graph for each important point in a method, and then computes the shortest-path weight of the graph. The shortest-path weights from upper bound to array index and from the index to lower bound indicates the safety of checks. Using VCA as the base analysis, we also show how two further analyses can improve the results of VCA. Array field analysis is applied on each class and provides information about some arrays stored in fields, while rectangular array analysis is an interprocedural analysis to approximate the shape of arrays, and is useful for finding rectangular (non-ragged) arrays. (Abstract shortened by UMI.)McGill UniversityHendren, Laurie (advisor)2001Electronic Thesis or Dissertationapplication/pdfenalephsysno: 001810834proquestno: MQ70489Theses scanned by UMI/ProQuest.All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.Master of Science (School of Computer Science.) http://digitool.Library.McGill.CA:80/R/?func=dbin-jump-full&object_id=31528
collection NDLTD
language en
format Others
sources NDLTD
topic Computer Science.
spellingShingle Computer Science.
Qian, Feng, 1973-
A comprehensive approach to array bounds check elimination for Java /
description We present a new approach to eliminate array bounds checks in Java by using static analyses. Our approach is based upon a flow-sensitive intraprocedural analysis called variable constraint analysis (VCA). VCA collects constraints between locals related to array references. The array bounds check problem is formulated as solving a system of difference constraints. The analysis builds a small constraint graph for each important point in a method, and then computes the shortest-path weight of the graph. The shortest-path weights from upper bound to array index and from the index to lower bound indicates the safety of checks. Using VCA as the base analysis, we also show how two further analyses can improve the results of VCA. Array field analysis is applied on each class and provides information about some arrays stored in fields, while rectangular array analysis is an interprocedural analysis to approximate the shape of arrays, and is useful for finding rectangular (non-ragged) arrays. (Abstract shortened by UMI.)
author2 Hendren, Laurie (advisor)
author_facet Hendren, Laurie (advisor)
Qian, Feng, 1973-
author Qian, Feng, 1973-
author_sort Qian, Feng, 1973-
title A comprehensive approach to array bounds check elimination for Java /
title_short A comprehensive approach to array bounds check elimination for Java /
title_full A comprehensive approach to array bounds check elimination for Java /
title_fullStr A comprehensive approach to array bounds check elimination for Java /
title_full_unstemmed A comprehensive approach to array bounds check elimination for Java /
title_sort comprehensive approach to array bounds check elimination for java /
publisher McGill University
publishDate 2001
url http://digitool.Library.McGill.CA:80/R/?func=dbin-jump-full&object_id=31528
work_keys_str_mv AT qianfeng1973 acomprehensiveapproachtoarrayboundscheckeliminationforjava
AT qianfeng1973 comprehensiveapproachtoarrayboundscheckeliminationforjava
_version_ 1716644328871297024