How to use ProfileCompiledMethods

Lukas Stadler lukas.stadler at oracle.com
Wed Sep 17 14:09:04 UTC 2014


The "out,warmup finished,finished” clause means that it will listen on System.out, start measuring when it encounters “warmup finished” and print results when it encounters “finished”.
Is it possible that that is does not occur in our benchmark setup?

- Lukas

On 17 Sep 2014, at 16:04, Stefan Marr <java at stefan-marr.de> wrote:

> 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