Dynamic semantics of Java']Java bytecode

被引:6
作者
Bertelsen, P [1 ]
机构
[1] Royal Vet & Agr Univ, Dept Math & Phys, Copenhagen, Denmark
关键词
!text type='Java']Java[!/text; !text type='Java']Java[!/text] Virtual Machine; formal specification; semantics;
D O I
10.1016/S0167-739X(99)00094-1
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We give a formal specification of the dynamic semantics of Java bytecode, in the form of an operational semantics for the Java Virtual Machine (JVM). For each JVM instruction we give a rule describing the instruction's effect on the machine state and the conditions under which the instruction will execute without error. This paper outlines the formalization of the JVM machine state and illustrates our approach for a few select JVM instructions. Our full specification, covering the entire JVM instruction set except for synchronization instructions, is available in the work of Bertelsen (Semantics of Java byte code, Technical Report, Department of Mathematics and Physics, Royal Veterinary and Agricultural University, Copenhagen, Denmark, April 1997). (C) 2000 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:841 / 850
页数:10
相关论文
共 17 条
[1]  
ALVESFOSS J, 1998, FORMAL SYNTAX SEMANT
[2]  
Bertelsen P., 1997, Semantics of Java Byte Code
[3]  
BERTELSEN P, SML JVM TOOLKIT VERS
[4]  
BORGER E, 1998, MFCS P
[5]  
CHAN P, 1998, JAVA CLASS LIB, V1
[6]  
COHEN RM, 1997, DEFENSIVE JAVA VIRTU
[7]  
Diehl S, 1998, SOFTWARE PRACT EXPER, V28, P297, DOI 10.1002/(SICI)1097-024X(199803)28:3<297::AID-SPE156>3.0.CO
[8]  
2-M
[9]  
GORDON D, 1981, FN19 DAIMI AARH U
[10]  
GORDON MJC, 1993, INTRO H OL THEOREM P