How to use ProfileCompiledMethods

Stefan Marr java at stefan-marr.de
Wed Sep 17 14:04:19 UTC 2014


Hi:

I was trying to investigate the performance of some benchmarks with the +ProfileCompiledMethods option but fail to get it to work.

What exactly are the necessary steps to get profiling output?

I compiled the GraalVM with:
  ./mx.sh --vm graal build -p

And then run the benchmark of interest like this:

../graal/mxtool/mx --vm graal vm -XX:+BootstrapGraal -XX:GraalCounterSize=30000 "-G:BenchmarkDynamicCounters=out,warmup finished,finished" -G:+ProfileCompiledMethods  -G:-TraceTruffleCompilation -Xbootclasspath/a:build/classes:libs/truffle.jar som.vm.Universe -cp Smalltalk:Examples/Benchmarks/DeltaBlue Examples/Benchmarks/BenchmarkHarness.som DeltaBlue 500 0 10

Unfortunately, that doesn’t seem to produce any output (except the benchmark’s output).

Thanks
Stefan

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





More information about the graal-dev mailing list