X hits on this document

139 views

0 shares

0 downloads

0 comments

59 / 62

59

Type descriptors example

public class MyProgram {

public void myFunc () {

Car c;

}

}

public class Car {

char a, b, c;

Engine e;

Wheel w;

}

public class Engine {

char x, y;

Valve v;

}

public class Wheel {...}

public class Valve {...}

Car type descriptor at 0x018

address

offset

i

0x0A2

4 (Engine)

0

0x005

5 (Wheel)

1

Engine type descriptor at 0x0A2

address

offset

i

0xB05

3 (Valve)

0

Wheel type descriptor at 0x005

Valve type descriptor at 0xB05

myFunc type descriptor at 0x104

address

offset

i

0x018

0 (Car)

0

Document info
Document views139
Page views139
Page last viewedSun Dec 04 06:49:25 UTC 2016
Pages62
Paragraphs993
Words3163

Comments