quickstep-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jianq...@apache.org
Subject incubator-quickstep git commit: No eviction policy
Date Mon, 29 Aug 2016 05:03:01 GMT
Repository: incubator-quickstep
Updated Branches:
  refs/heads/LIP-for-tpch-merged 2a7d9264a -> d6e52d6c0


No eviction policy


Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/d6e52d6c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/d6e52d6c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/d6e52d6c

Branch: refs/heads/LIP-for-tpch-merged
Commit: d6e52d6c0e0ffc00016e823b89088fb966aae369
Parents: 2a7d926
Author: Jianqiao Zhu <jianqiao@cs.wisc.edu>
Authored: Mon Aug 29 00:02:56 2016 -0500
Committer: Jianqiao Zhu <jianqiao@cs.wisc.edu>
Committed: Mon Aug 29 00:02:56 2016 -0500

----------------------------------------------------------------------
 storage/CountedReference.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/d6e52d6c/storage/CountedReference.hpp
----------------------------------------------------------------------
diff --git a/storage/CountedReference.hpp b/storage/CountedReference.hpp
index 2d9cec3..49d0f73 100644
--- a/storage/CountedReference.hpp
+++ b/storage/CountedReference.hpp
@@ -66,7 +66,7 @@ class CountedReference {
    **/
   CountedReference(T *block, EvictionPolicy *eviction_policy)
       : block_(block), eviction_policy_(eviction_policy) {
-    eviction_policy_->blockReferenced(block_->getID());
+//    eviction_policy_->blockReferenced(block_->getID());
 #ifdef QUICKSTEP_DEBUG
     block_->ref();
 #endif
@@ -111,7 +111,7 @@ class CountedReference {
 #ifdef QUICKSTEP_DEBUG
         block_->unref();
 #endif
-        eviction_policy_->blockUnreferenced(block_->getID());
+//        eviction_policy_->blockUnreferenced(block_->getID());
       }
   }
 


Mime
View raw message