VM Spec

Contents | Prev | Next | Index | The JavaTM Virtual Machine Specification

symbols A B C D E F G H I J L M N O P Q R S T U V W Z

# M

magic item

(ClassFile structure), 94

magic number

See also magic item
verification of, 141

main method

invocation of on startup, 158, 46

major_version item

(ClassFile structure), 94

mapping

symbolic references to concrete values, as part of resolution, 165

max_locals item

(Code_attribute structure), 121

memory

allocation during instance creation, 54
definition, 397
garbage collection

and finalization, 56
as memory management technique, 12

main, 397
master, of variables, 397
runtime data areas

heap, 68
Java virtual machine stack, 67
layout not specified by Java virtual machine specification, 62
method area, 69
native method stacks, 70
pc register, 67
runtime constant pool, 70

thread interaction with, ordering rules, 60
working, 397

method area

definition, 69

method_info structure

(methods table of ClassFile structure), 114

methods

See also fields
abrupt completion, 74
abstract, 32
abstract, as interface members, 36
area

definition, 69
runtime constant pool allocation from, 70

class

invoking, invokestatic, 288

<clinit> method

as class or interface initialization method, 78
constant_pool reference to, 106
invocation of, static constraints, 135
method_info structure access flags ignored, 116
name_index item (method_info structure) reference, 116

code

location, 120
size limitation, 152
verification, Pass 3 - bytecode verifier, 143

compilation examples, 365
constant pool references, verification process, 141
constant_pool reference to, 106
defineClass method, ClassLoader class, 161
definition, 31
derivation of symbolic references to at run time, 156
descriptor

argument number limitation, 153
syntax and meaning, 101
as value of CONSTANT_Utf8_info structure referenced by descriptor_index item, CONSTANT_NameAndType_info structure, 110

final, 33
finalize method, 56
<init> method

invocation of, static constraints, 135
invocation of, structural constraints, 137
name_index item (method_info), 116

initialization, 78
instance

invoking, invokespecial, 284
invoking, invokevirtual, 291

interface

invoking, invokeinterface, 280

invocation

conversion, 22
conversion, context, 16
expressions, access control and, 26
instruction summary, 89
structural constraints on instructions, 137

loadClass method, ClassLoader class, 161
lookup

during resolution, 168
dynamic, invokeinterface, 280
dynamic, invokevirtual, 291

main method, invocation of, 158
modifiers, 32
native, 33

pc register state during invocation, 67
stacks, 70

newInstance method, Class class, 12
normal completion, 74
notify method, multithreaded actions, 59
notifyAll method, multithreaded actions, 59
number and size limitation, 152
operand stack use by, 73
private, 33
protected, structural constraints, 138
public, 32
requirements for throwing exceptions, 123
return

double value from, dreturn, 214
float value from, freturn, 244
instruction summary, 89
int value from, ireturn, 296
long value from, lreturn, 327
reference value from, areturn, 182
type, structural constraints on instructions, 138
void from, return, 353

setDaemon method, creating daemon

threads with, 58

strictfp, 33
String.intern, 6
super, 34
synchronization, instruction summary, 90
synchronized methods, 33

double value return from, dreturn, 214
float value return from, freturn, 244
int value return from, ireturn, 296
long value return from, lreturn, 327
reference value return from, areturn, 182
void return from, return, 353

table, preparation phase use of, 50
uncaughtException method, exception handling use, 40, 42
wait method, multithreaded actions, 59

methods table

(ClassFile structure), 98

methods_count item

(ClassFile structure), 98

minor_version item

(ClassFile structure), 94

monitor

See also IllegalMonitorStateException; locks
definition, 59
enter, monitorenter, 335
exit, monitorexit, 337

monitorenter instruction

compilation examples, synchronization, 395
definition, 335

monitorexit instruction

compilation examples, synchronization, 395
definition, 337

multianewarray instruction

compilation examples, arrays, 383
constraints, static, 136
definition, 339

multiplying

double, dmul, 209
float, fmul, 239
int, imul, 276
long, lmul, 321

"must"

instruction description implications, 171

Contents | Prev | Next | Index

The JavaTM Virtual Machine Specification
Copyright © 1999 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to jvm@java.sun.com