[kaffe] Porting KAFFE on XScale PXA255 (2nd part)

Gérard Basler gerard.basler@cinerent.com
Thu Dec 18 08:22:15 2003


Hi all!

I run it with -vmdebug JIT,MOREJIT

...
soft_fixup_trampoline(): return 0x2b9a00
soft_fixup_trampoline(): meth 0x2d1690, where 0x2d16a4
asked to translate = kaffe/lang/ThreadStack.getCallersClassLoader((Z)Ljava/lang/ClassLoader;)
successfully verified = kaffe/lang/ThreadStack.getCallersClassLoader((Z)Ljava/lang/ClassLoader;)
pc = 0, npc = 3
@0:     invokestatic 19
8:      maxStack = 2, maxLocal = 1, maxTemp = 15
14:     spill_int 0, [FP, -112]
24:     move_label_const 1, ?
28:     ld 1, [1]
30:     call [1]
40:     move_int_const 2, 2954748 (0x2d15fc)
44:     ld 2, [2]
4c:     call [2]
4c:     return_int R0
pc = 3, npc = 4
@3:     iload 0
50:     reload_int 3, [FP, -112]
54:     move_int 4, 3
pc = 4, npc = 7
@4:     invokestatic 26
58:     push_int via mov 1,4
5c:     spill_int 0, [FP, -104]
6c:     move_int_const 5, 2954972 (0x2d16dc)
70:     ld 5, [5]
78:     call [5]
78:     null popargs with 2 args
78:     return_int R0
pc = 7, npc = 8
@7:     areturn
78:     returnarg_int R0,0
7c:     branch type 0 at 0x78 from 0x80
7c:     maxStack = 2, maxLocal = 1, maxTemp = 15
Translated kaffe/lang/ThreadStack.getCallersClassLoader(Z)Ljava/lang/ClassLoader; (static) 0x2ccf4c
<JIT: kaffe/lang/ThreadStack.getCallersClassLoader(Z)Ljava/lang/ClassLoader; time 6ms (2684ms) @ 0x2ccf4c>
soft_fixup_trampoline(): return 0x2ccf4c
soft_fixup_trampoline(): meth 0x2d15e8, where 0x2d15fc
asked to translate = kaffe/lang/ThreadStack.getClassStack(()[Ljava/lang/Class;)
8:      maxStack = 0, maxLocal = 0, maxTemp = 15
20:     move_label_const 0, ?
24:     ld 0, [0]
2c:     call [0]
2c:     return_int R0
2c:     returnarg_int R0,0
2c:     maxStack = 0, maxLocal = 0, maxTemp = 15
soft_fixup_trampoline(): return 0x2d96bc

There's no "successfully verified" thing!