Java runtime array memory layout?# Java - 爪哇娇娃
P*f
1 楼
on 32bit platform, say, a one-dimension int array
int [] a={1,2,3};
What about the memory layout of a according to spec? suppose the starting
address for a is $a, so 0($a) is the type info? 4($a)is the length? and
followed by
elements? thx
int [] a={1,2,3};
What about the memory layout of a according to spec? suppose the starting
address for a is $a, so 0($a) is the type info? 4($a)is the length? and
followed by
elements? thx