How to use ProfileCompiledMethods

Stefan Marr java at
Wed Sep 17 14:04:19 UTC 2014


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:
  ./ --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).


Stefan Marr
INRIA Lille - Nord Europe

More information about the graal-dev mailing list