Mercurial > hg > graal-compiler
changeset 5442:2fac5abf145f
documentation on CiFrame.leafGraphId
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Fri, 25 May 2012 10:36:23 +0200 |
parents | ab31310d4af9 |
children | 141817e206d4 |
files | graal/com.oracle.max.cri/src/com/oracle/max/cri/ci/CiFrame.java |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.max.cri/src/com/oracle/max/cri/ci/CiFrame.java Fri May 25 10:35:59 2012 +0200 +++ b/graal/com.oracle.max.cri/src/com/oracle/max/cri/ci/CiFrame.java Fri May 25 10:36:23 2012 +0200 @@ -65,6 +65,10 @@ */ public final int numLocks; + /** + * In case this frame state belongs to a deoptimization, the leafGraphId will contain the StructuredGraph.graphId() of the graph that originally introduced this deoptimization point. + * This id is later on used by the runtime system to evict graphs from the graph cache when deoptimizations originating from them have been hit. + */ public final long leafGraphId; public final boolean rethrowException;