From: jjenista Date: Wed, 17 Mar 2010 20:47:34 +0000 (+0000) Subject: using allocation sites in new ways exposed a latent bug X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f2d00c14e9049a4582d841b07d283a78c9fbb673;p=IRC.git using allocation sites in new ways exposed a latent bug --- diff --git a/Robust/src/Analysis/Disjoint/AllocSite.java b/Robust/src/Analysis/Disjoint/AllocSite.java index f7b635da..c890f372 100644 --- a/Robust/src/Analysis/Disjoint/AllocSite.java +++ b/Robust/src/Analysis/Disjoint/AllocSite.java @@ -147,7 +147,7 @@ public class AllocSite extends Canonical { } public Integer getAge( Integer id ) { - for( int i = 0; i < allocationDepth - 1; ++i ) { + for( int i = 0; i < allocationDepth; ++i ) { if( id.equals( ithOldest.get( i ) ) ) { return new Integer( i ); }