# HG changeset patch # User Andreas Woess # Date 1385833295 -3600 # Node ID 66d793d064654c6ad3031d26cc5cd0a17a079ef5 # Parent 9500ac5269ff4f709b892b18cea06e7663cdcafe print frame prologue reinstallation message only if TraceTruffleCompilation is enabled. diff -r 9500ac5269ff -r 66d793d06465 graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/OptimizedCallTarget.java --- a/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/OptimizedCallTarget.java Sat Nov 30 18:21:06 2013 +0100 +++ b/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/OptimizedCallTarget.java Sat Nov 30 18:41:35 2013 +0100 @@ -79,8 +79,9 @@ if (installedCode != null && installedCode.isValid()) { TruffleRuntime runtime = Truffle.getRuntime(); if (runtime instanceof GraalTruffleRuntime) { - OUT.printf("[truffle] reinstall OptimizedCallTarget.call code with frame prolog shortcut."); - OUT.println(); + if (TraceTruffleCompilation.getValue()) { + OUT.println("[truffle] reinstall OptimizedCallTarget.call code with frame prolog shortcut."); + } GraalTruffleRuntime.installOptimizedCallTargetCallMethod(); } }