# HG changeset patch # User Doug Simon # Date 1359317119 -3600 # Node ID 0b68e6426b4846b6f54c3baf15c32787804faeef # Parent f701f2ce0f59a23588d75e84005b2d56aef3ff03 fixed bug in implementation of -Dgraal.benchmark.compilation=true diff -r f701f2ce0f59 -r 0b68e6426b48 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java Fri Jan 25 16:05:41 2013 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java Sun Jan 27 21:05:19 2013 +0100 @@ -345,8 +345,10 @@ } phaseTransition("final"); - parsedBytecodesPerSecond.printAll("ParsedBytecodesPerSecond"); - inlinedBytecodesPerSecond.printAll("InlinedBytecodesPerSecond"); + if (BenchmarkCompilation) { + parsedBytecodesPerSecond.printAll("ParsedBytecodesPerSecond"); + inlinedBytecodesPerSecond.printAll("InlinedBytecodesPerSecond"); + } SnippetCounter.printGroups(TTY.out().out()); }