changeset 23158:78a5a1867579

MoveProfiling: less verbose MoveType printing.
author Josef Eisl <josef.eisl@jku.at>
date Fri, 11 Dec 2015 14:45:57 +0100
parents 274037591da2
children 9248b33b07be
files graal/com.oracle.graal.lir/src/com/oracle/graal/lir/profiling/MoveProfiling.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/profiling/MoveProfiling.java	Fri Dec 11 10:58:36 2015 +0100
+++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/profiling/MoveProfiling.java	Fri Dec 11 14:45:57 2015 +0100
@@ -70,7 +70,7 @@
         private final String name;
 
         MoveType(String dst, String src) {
-            this.name = String.format("%5s <- %s", dst, src);
+            this.name = src + '2' + dst;
         }
 
         @Override
@@ -156,7 +156,7 @@
                 }
             }
             String[] groups = new String[names.size()];
-            Arrays.fill(groups, "Move Operations");
+            Arrays.fill(groups, "MoveOperations");
             if (names.size() > 0) { // Don't pollute LIR when nothing has to be done
                 LIRInstruction inst = counterFactory.createMultiBenchmarkCounter(names.toArray(new String[0]), groups, increments.toArray(new Value[0]));
                 assert inst != null;