JIT and invalidation

Remi Forax forax at univ-mlv.fr
Sun Feb 16 13:54:00 PST 2014


Hi John, Hi Christian, Hi all,
I don't know if you can test this little code, but when I run it on my 
laptop (linux 64bits)
it can terminate in 45s or 2 minutes, it seems that it depends on the 
order the JIT compiles the method handles.
   https://gist.github.com/forax/9041030

Sometimes it also PrintCompilation can also prints 'COMPILE SKIPPED: 
invalid non-klass dependency'.

BTW, the code allows to safely* map and unmap a 32G file without not 
always paying the cost of the runtime check that test if the array is 
unmaped or not :)

cheers,
Rémi
* I believe.


More information about the mlvm-dev mailing list