Shark just JITted its first bytecode:
load i32* %local0 ;:15 [#uses=1] inttoptr i32 %sp to i32* ; :16 [#uses=1] store i32 %15, i32* %16 %sp1 = sub i32 %sp, 4 ; [#uses=2]
Ladies and gentlemen, it is aload_0
!
Shark just JITted its first bytecode:
load i32* %local0 ;:15 [#uses=1] inttoptr i32 %sp to i32* ; :16 [#uses=1] store i32 %15, i32* %16 %sp1 = sub i32 %sp, 4 ; [#uses=2]
Ladies and gentlemen, it is aload_0
!
Yesterday I had a mini-milestone in that I got enough bits and pieces written to have HotSpot call my JIT’s compile_method()
method. The next trick will be to get a piece of code back into HotSpot without it being relocated on the way.
Of course, the zero interpreter doesn’t have profiling, so it only works if you force it with -Xcomp
at the moment.
Also, I disabled InlineIntrinsics
, which reminded me that there was some kind of fast accessor thing for JNI that I disabled in the original ppc port. I should fix that at some point.