Huge Performance Regression introduced September 18th

Stefan Marr java at stefan-marr.de
Tue Nov 18 21:49:57 UTC 2014


Hi:

I got a problem with a change introduced on September 18th.
It introduces a >10x performance regression on my Mandelbrot benchmark.

The last working and fast revision is
http://hg.openjdk.java.net/graal/graal/rev/646ddd52d79a

Afterwards you got
http://hg.openjdk.java.net/graal/graal/rev/7716c6993546
and 
http://hg.openjdk.java.net/graal/graal/rev/a8eb7473d58a
which just result in errors when Graal is trying to compile my benchmark.

And the next working version is:
http://hg.openjdk.java.net/graal/graal/rev/ac6e25901d62
[Add trusted interface concept and use it for WordBase, fix a NPE and some tests]



Perhaps those changes again point out bugs in TruffleSOM, so would be good if someone could explain me what is going on there.

On a recent Graal, you can see Mandelbrot being really slow by getting the source like usually:

git clone --recursive https://github.com/SOM-st/TruffleSOM
cd TruffleSOM
ant jar
../graal/mxtool/mx —vm server vm -Xbootclasspath/a:build/classes:libs/truffle.jar som.vm.Universe -cp Smalltalk Examples/Benchmarks/BenchmarkHarness.som Mandelbrot 1000 0 750


Thanks
Stefan

-- 
Stefan Marr
INRIA Lille - Nord Europe
http://stefan-marr.de/research/





More information about the graal-dev mailing list