Mahesh Reddy has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22181
Change subject: KUDU-613: Remove use of vectors under lock ...................................................................... KUDU-613: Remove use of vectors under lock Currently, the implementation of the SLRU cache returns a vector of temporarily evicted entries to be reinserted later. There are performance concerns with this approach as it allocates and deallocates memory under the lock. This patch refactors the code to not use a vector to deal with the temporarily evicted entries. Change-Id: I8f6a019c7c033c6c3dfef59b0f037e78f8264e68 --- M src/kudu/util/slru_cache.cc M src/kudu/util/slru_cache.h 2 files changed, 26 insertions(+), 36 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/81/22181/1 -- To view, visit http://gerrit.cloudera.org:8080/22181 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I8f6a019c7c033c6c3dfef59b0f037e78f8264e68 Gerrit-Change-Number: 22181 Gerrit-PatchSet: 1 Gerrit-Owner: Mahesh Reddy <[email protected]>
