From 570666f712bedacb4142511d251a1d8eb1e2a0b2 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Mon, 21 Dec 2009 22:39:51 +0000 Subject: [PATCH] further bug fixes --- Robust/src/Runtime/DSTM/interface/prefetch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Robust/src/Runtime/DSTM/interface/prefetch.c b/Robust/src/Runtime/DSTM/interface/prefetch.c index 59e4603a..d7536acb 100644 --- a/Robust/src/Runtime/DSTM/interface/prefetch.c +++ b/Robust/src/Runtime/DSTM/interface/prefetch.c @@ -92,9 +92,9 @@ perMcPrefetchList_t *processLocal(char *ptr, int numprefetches) { unsigned int dfsList[numoffset]; int offstop=numoffset-2; - int countInvalidObj=0; + int countInvalidObj=-1; - objheader_t * header = searchObj(oid, top, &countInvalidObj); + objheader_t * header = searchObjInv(oid, top, &countInvalidObj); //printf("%u %x\n", oid, header); if (header==NULL) { LOGTIME('b',oid,0,0,countInvalidObj); @@ -118,7 +118,7 @@ perMcPrefetchList_t *processLocal(char *ptr, int numprefetches) { top+=2; dfsList[top]=oid; dfsList[top+1]=0; - header=searchObj(oid, top, &countInvalidObj); + header=searchObjInv(oid, top, &countInvalidObj); if (header==NULL) { LOGTIME('c',oid,top,0,countInvalidObj); //forward prefetch -- 2.34.1