Mercurial > hg > truffle
comparison graal/com.oracle.max.criutils/src/com/oracle/max/criutils/SnapshotProfilingInfo.java @ 5547:b6617d13ea44
Dropping Ci* prefixes. Some additional renamings in the api.code interface.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 09 Jun 2012 20:10:05 +0200 |
parents | b4c406861c33 |
children | 4d7175cf3526 |
comparison
equal
deleted
inserted
replaced
5546:e42c0df7212a | 5547:b6617d13ea44 |
---|---|
86 return deopts[reason.ordinal()]; | 86 return deopts[reason.ordinal()]; |
87 } | 87 } |
88 | 88 |
89 @Override | 89 @Override |
90 public String toString() { | 90 public String toString() { |
91 return CiUtil.profileToString(this, null, "; "); | 91 return CodeUtil.profileToString(this, null, "; "); |
92 } | 92 } |
93 | 93 |
94 /** | 94 /** |
95 * Deserializes a profile snapshot from a file. | 95 * Deserializes a profile snapshot from a file. |
96 * | 96 * |
124 oos.close(); | 124 oos.close(); |
125 } | 125 } |
126 if (txtFile != null) { | 126 if (txtFile != null) { |
127 PrintStream out = new PrintStream(txtFile); | 127 PrintStream out = new PrintStream(txtFile); |
128 try { | 128 try { |
129 out.println(CiUtil.profileToString(this, null, CiUtil.NEW_LINE)); | 129 out.println(CodeUtil.profileToString(this, null, CodeUtil.NEW_LINE)); |
130 } finally { | 130 } finally { |
131 out.close(); | 131 out.close(); |
132 } | 132 } |
133 } | 133 } |
134 } | 134 } |