using allocation sites in new ways exposed a latent bug
authorjjenista <jjenista>
Wed, 17 Mar 2010 20:47:34 +0000 (20:47 +0000)
committerjjenista <jjenista>
Wed, 17 Mar 2010 20:47:34 +0000 (20:47 +0000)
Robust/src/Analysis/Disjoint/AllocSite.java

index f7b635da1713e0c51b34709df55f9d785655d17e..c890f372591547947d28c8af0fa1026a2ddfe6ab 100644 (file)
@@ -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 );
       }