Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/967900.968160acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
Article

Another step towards a smart compilation manager for Java

Published: 14 March 2004 Publication History

Abstract

In a recent work we have proposed a compilation strategy (that is, a way to decide which unchanged sources have to be recompiled) for a substantial subset of Java which has been shown to be sound and minimal. That is, an unchanged source is recompiled if and only if its recompilation produces a different binary or an error. However, that model does not handle two features of Java, namely, compile-time constant fields (static final fields initialized by a compile-time constant of a primitive type or String) and unreachable code, which turn out to be troublesome for having a sound and minimal compilation strategy. To our best knowledge these two features, probably because of their low-level nature, have been omitted in all models of Java separate compilation written so far. Yet, a compilation strategy for full Java has to deal with them. Thus, in this paper we analyze the implications of handling compile-time constant fields and unreachable code, and extend our previous model in order to handle these two features as well.

References

[1]
Rolf Adams, Walter Tichy, and Annette Weinert. The cost of selective recompilation and environment processing. ACM Transactions on Software Engineering and Methodology, 3(1):3--28, January 1994.
[2]
D. Ancona and G. Lagorio. Stronger Typings for Separate Compilation of Java-like Languages. Technical report, DISI, March 2003.
[3]
D. Ancona and G. Lagorio. Stronger Typings for Separate Compilation of Java-like Languages (Extended Abstract). In 5th Intl. Workshop on Formal Techniques for Java Programs 2003, July 2003.
[4]
D. Ancona, G. Lagorio, and E. Zucca. A core calculus for Java exceptions. In ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages and Applications (OOPSLA 2001), SIGPLAN Notices. ACM Press, October 2001.
[5]
D. Ancona and E. Zucca. Principal typings for Java-like languages. In ACM Symp. on Principles of Programming Languages 2004, January 2004.
[6]
M. Dmitriev. Language-specific make technology for the Java programming language. ACM SIGPLAN Notices, 37(11):373--385, 2002.
[7]
J. Gosling, B. Joy, G. Steele, and G. Bracha. The Java#8482; Language Specification, Second Edition. Addison-Wesley, 2000.
[8]
G. Lagorio. Towards a Smart Compilation Manager for Java. In Blundo and Laneve, editors, Italian Conf. on Theoretical Computer Science 2003, number 2841 in Lecture Notes in Computer Science, pages 302--315. Springer, October 2003.
[9]
T. Lindholm and F. Yellin. The Java Virtual Machine Specification. The Java Series. Addison-Wesley, Second edition, 1999.
[10]
J. B. Wells. The essence of principal typings. In International Colloquium on Automata, Languages and Programming 2002, number 2380 in Lecture Notes in Computer Science, pages 913--925. Springer, 2002.

Cited By

View all

Index Terms

  1. Another step towards a smart compilation manager for Java

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SAC '04: Proceedings of the 2004 ACM symposium on Applied computing
    March 2004
    1733 pages
    ISBN:1581138121
    DOI:10.1145/967900
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 14 March 2004

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Java
    2. separate compilation

    Qualifiers

    • Article

    Conference

    SAC04
    Sponsor:
    SAC04: The 2004 ACM Symposium on Applied Computing
    March 14 - 17, 2004
    Nicosia, Cyprus

    Acceptance Rates

    Overall Acceptance Rate 1,650 of 6,669 submissions, 25%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)1
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 15 Oct 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2005)Polymorphic bytecodeACM SIGPLAN Notices10.1145/1047659.104030840:1(26-37)Online publication date: 12-Jan-2005
    • (2005)Polymorphic bytecodeProceedings of the 32nd ACM SIGPLAN-SIGACT symposium on Principles of programming languages10.1145/1040305.1040308(26-37)Online publication date: 12-Jan-2005
    • (2004)Principal typings for Java-like languagesACM SIGPLAN Notices10.1145/982962.96402739:1(306-317)Online publication date: 1-Jan-2004
    • (2004)Principal typings for Java-like languagesProceedings of the 31st ACM SIGPLAN-SIGACT symposium on Principles of programming languages10.1145/964001.964027(306-317)Online publication date: 14-Jan-2004

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media