Forcing/guiding hotspot to compile sections of code

Anyone has any trick to (predictably) force hotspot to compile

a critical section of code.

I basically have an algorithm (approx 100 lines) where 80% of

cycles are spent but somehow the hotspot implementation

on Symbian/ARM (J2SE/MIDP) only hava around 30% chance of

compiling.

The result is very unpredicatble preformance.

The hotspot on PC J2SE is good of course. But that's the PC.

Anyone has any pointers?

Thanks in advance.

Cheers...

[507 byte] By [jasonchtaia] at [2008-2-2]