Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiTypeProfile.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 | 439ca5ecc7dc |
children | 2e9a5365dfb0 |
line wrap: on
line diff
--- a/graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiTypeProfile.java Wed May 02 18:23:12 2012 +0200 +++ b/graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiTypeProfile.java Thu May 03 13:39:45 2012 +0200 @@ -37,7 +37,8 @@ * A profiled type that has a probability. Profiled types are naturally sorted in * descending order of their probabilities. */ - public static class ProfiledType implements Comparable<ProfiledType> { + public static class ProfiledType implements Comparable<ProfiledType>, Serializable { + private static final long serialVersionUID = 7838575753661305744L; public final RiResolvedType type; public final double probability;