Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D6078200CC8 for ; Fri, 30 Jun 2017 02:40:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D325E160BED; Fri, 30 Jun 2017 00:40:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0EFA8160BFE for ; Fri, 30 Jun 2017 02:40:03 +0200 (CEST) Received: (qmail 79257 invoked by uid 500); 30 Jun 2017 00:40:03 -0000 Mailing-List: contact commits-help@carbondata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.apache.org Delivered-To: mailing list commits@carbondata.apache.org Received: (qmail 79200 invoked by uid 99); 30 Jun 2017 00:40:03 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2017 00:40:03 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 32ED3E5E08; Fri, 30 Jun 2017 00:40:00 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jackylk@apache.org To: commits@carbondata.apache.org Date: Fri, 30 Jun 2017 00:40:01 -0000 Message-Id: <86c01dc2bfd24a74b48f3f2172b70d10@git.apache.org> In-Reply-To: <78ea7a8b621b4ae7ae6c24a64adbb337@git.apache.org> References: <78ea7a8b621b4ae7ae6c24a64adbb337@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [02/10] carbondata git commit: [CARBONDATA-1179] Improve Size calculation of Objects of LRU cache. This closes #1038. archived-at: Fri, 30 Jun 2017 00:40:05 -0000 [CARBONDATA-1179] Improve Size calculation of Objects of LRU cache. This closes #1038. Project: http://git-wip-us.apache.org/repos/asf/carbondata/repo Commit: http://git-wip-us.apache.org/repos/asf/carbondata/commit/c8f742d4 Tree: http://git-wip-us.apache.org/repos/asf/carbondata/tree/c8f742d4 Diff: http://git-wip-us.apache.org/repos/asf/carbondata/diff/c8f742d4 Branch: refs/heads/encoding_override Commit: c8f742d434e29a6a9000815d9e7921462120c77d Parents: ac2168a 377dee9 Author: Venkata Ramana G Authored: Thu Jun 29 11:41:35 2017 +0530 Committer: Venkata Ramana G Committed: Thu Jun 29 11:41:35 2017 +0530 ---------------------------------------------------------------------- .../carbondata/core/cache/CarbonLRUCache.java | 29 +++++++ .../AbstractColumnDictionaryInfo.java | 15 +++- .../dictionary/AbstractDictionaryCache.java | 89 +++++++++++++++++--- .../core/cache/dictionary/DictionaryInfo.java | 12 +++ .../dictionary/ForwardDictionaryCache.java | 42 +++++++++ .../dictionary/ReverseDictionaryCache.java | 54 ++++++++++++ .../datastore/AbstractBlockIndexStoreCache.java | 4 +- .../core/datastore/SegmentTaskIndexStore.java | 19 +++-- .../reader/CarbonDictionaryMetadataReader.java | 13 +++ .../CarbonDictionaryMetadataReaderImpl.java | 17 ++++ .../core/util/ObjectSizeCalculator.java | 71 ++++++++++++++++ .../dictionary/ReverseDictionaryCacheTest.java | 2 +- 12 files changed, 347 insertions(+), 20 deletions(-) ----------------------------------------------------------------------