# HG changeset patch # User Doug Simon # Date 1358279024 -3600 # Node ID 31d1cc9219d84509cd34e213a2fdbeb95d722852 # Parent 6761a8f854a46b9cc69ff05b2c042515ace4d32d gave CompilationTask a toString() method diff -r 6761a8f854a4 -r 31d1cc9219d8 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java Tue Jan 15 18:54:02 2013 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java Tue Jan 15 20:43:44 2013 +0100 @@ -136,6 +136,7 @@ } else { // Compiling an intrinsic graph - must clone the graph graph = graph.copy(); + //System.out.println("compiling intrinsic " + method); } return graalRuntime.getCompiler().compileMethod(method, graph, graalRuntime.getCache(), plan, optimisticOpts); } @@ -192,4 +193,9 @@ return id < o.id ? -1 : (id > o.id ? 1 : 0); } + @Override + public String toString() { + return "Compilation[id=" + id + ", prio=" + priority + " " + MetaUtil.format("%H.%n(%p)", method) + + (entryBCI == StructuredGraph.INVOCATION_ENTRY_BCI ? "" : "@" + entryBCI) + "]"; + } }