A formal framework for Java']Java separate compilation

被引:0
|
作者
Ancona, D [1 ]
Lagorio, G [1 ]
Zucca, E [1 ]
机构
[1] Univ Genoa, DISI, I-16146 Genoa, Italy
来源
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We define a formal notion, called compilation schema, suitable for specifying different possibilities for performing the overall process of Java compilation, which includes typechecking of source fragments with generation of corresponding binary code, typechecking of binary fragments, extraction of type information from fragments and definition of dependencies among them. We consider three compilation schemata of interest for Java, that is, minimal, SDK and, safe, which correspond to a minimal set of checks, the checks performed by the SDK implementation, and all the checks needed to prevent run-time linkage errors, respectively. In order to demonstrate our approach, we define a kernel model for Java separate compilation and execution, consisting in a small Java subset, and a simple corresponding binary language for which we provide an operational semantics including run-time verification. We define a safe compilation schema for this language a:id formally prove type safety.
引用
收藏
页码:609 / 635
页数:27
相关论文
共 50 条
  • [21] Type-preserving compilation of featherweight Java']Java
    League, C
    Shao, Z
    Trifonov, V
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2002, 24 (02): : 112 - 152
  • [22] An Incremental Compilation Algorithm For the Java']Java Programming Language
    You Liang
    Lu Yansheng
    [J]. PROCEEDINGS OF 2012 7TH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE & EDUCATION, VOLS I-VI, 2012, : 1121 - 1124
  • [23] Lightweight Compilation of Method Invocation Bytecodes in Java']Java
    Kaur, Harpreet
    Young, Scott
    Pirvu, Marius
    Kent, Kenneth B.
    [J]. 39TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2024, 2024, : 1114 - 1121
  • [24] Formal Verification of a Java Component Using the RESOLVE Framework
    Rumreich, Laine
    Sivilotti, Paolo A. G.
    [J]. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2021, 12941 LNAI : 287 - 305
  • [25] Formal semantics of Java']Java expressions and statements
    Zamulin, AV
    [J]. PROGRAMMING AND COMPUTER SOFTWARE, 2003, 29 (05) : 259 - 269
  • [26] Just-in-time Java']Java™ compilation for the Itanium® processor
    Shpeisman, T
    Lueh, GY
    Adl-Tabatabai, AR
    [J]. 2002 INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, PROCEEDINGS, 2002, : 249 - 258
  • [27] Formal Modelling and Analysis of Predictable Java']Java
    Bogholm, Thomas
    Hansen, Rene R.
    Ravn, Anders P.
    Sondergaard, Hans
    Thomsen, Bent
    [J]. ERCIM NEWS, 2010, (81): : 52 - 53
  • [28] A formal specification of Java']Java™ class leading
    Qian, ZY
    Goldberg, A
    Coglio, A
    [J]. ACM SIGPLAN NOTICES, 2000, 35 (10) : 325 - 336
  • [29] Java']Java Bug Fixed with Formal Methods
    不详
    [J]. ERCIM NEWS, 2015, (101): : 55 - 55
  • [30] Java']JavaScript AOT Compilation
    Serrano, Manuel
    [J]. DLS'18: PROCEEDINGS OF THE 14TH ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON DYNAMIC LANGUAGES, 2018, : 50 - 63