commit | 42598054d2d278bddde812f160517162e95342c1 | [log] [tgz] |
---|---|---|
author | Logan <tzuhsiang.chien@gmail.com> | Wed Jan 26 22:41:13 2011 +0800 |
committer | Logan <tzuhsiang.chien@gmail.com> | Mon Jan 31 22:06:31 2011 +0800 |
tree | dcb03b936c471a32219d7e8339388db0a53bbdd1 | |
parent | 39ebe2c22f8557752065465345bb3006d06e4497 [diff] [blame] |
Enhance the cache-writing policy.
diff --git a/lib/bcc/CacheReader.cpp b/lib/bcc/CacheReader.cpp index e44f5b5..a820053 100644 --- a/lib/bcc/CacheReader.cpp +++ b/lib/bcc/CacheReader.cpp
@@ -416,6 +416,7 @@ if (!mpResult->mContext) { // Unable to allocate at cached address. Give up. + mIsContextSlotNotAvail = true; return false; // TODO(logan): If relocation is fixed, we should try to allocate the