Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.max.criutils/src/com/oracle/max/criutils/BaseProfilingInfo.java @ 5346:4c3d953f8131
added mechanism (enabled by -G:PICache and -G:PiFilter) for saving/loading method profiling info to/from disk
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 03 May 2012 13:39:45 +0200 |
parents | dad1ac9dba7d |
children | 56860d3f9f39 |
line wrap: on
line diff
--- a/graal/com.oracle.max.criutils/src/com/oracle/max/criutils/BaseProfilingInfo.java Wed May 02 18:23:12 2012 +0200 +++ b/graal/com.oracle.max.criutils/src/com/oracle/max/criutils/BaseProfilingInfo.java Thu May 03 13:39:45 2012 +0200 @@ -22,6 +22,7 @@ */ package com.oracle.max.criutils; +import com.oracle.max.cri.ci.*; import com.oracle.max.cri.ri.*; @@ -43,6 +44,11 @@ } @Override + public int codeSize() { + return 0; + } + + @Override public RiTypeProfile getTypeProfile(int bci) { return null; } @@ -75,4 +81,9 @@ public int getDeoptimizationCount(RiDeoptReason reason) { return 0; } + + @Override + public String toString() { + return "BaseProfilingInfo<" + CiUtil.profileToString(this, null, "; ") + ">"; + } }