From f2d00c14e9049a4582d841b07d283a78c9fbb673 Mon Sep 17 00:00:00 2001 From: jjenista Date: Wed, 17 Mar 2010 20:47:34 +0000 Subject: [PATCH] using allocation sites in new ways exposed a latent bug --- Robust/src/Analysis/Disjoint/AllocSite.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.34.1