Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9CF3F9B2E for ; Sun, 6 Nov 2011 04:05:16 +0000 (UTC) Received: (qmail 29814 invoked by uid 500); 6 Nov 2011 04:05:16 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 29780 invoked by uid 500); 6 Nov 2011 04:05:15 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 29768 invoked by uid 99); 6 Nov 2011 04:05:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2011 04:05:15 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2011 04:05:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E283A33511 for ; Sun, 6 Nov 2011 04:04:51 +0000 (UTC) Date: Sun, 6 Nov 2011 04:04:51 +0000 (UTC) From: "Benoit Sigoure (Updated) (JIRA)" To: issues@hbase.apache.org Message-ID: <829933805.4097.1320552291929.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <246195282.4092.1320552051742.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-4752) Don't create an unnecessary LinkedList when evicting from the BlockCache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-4752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benoit Sigoure updated HBASE-4752: ---------------------------------- Status: Patch Available (was: Open) > Don't create an unnecessary LinkedList when evicting from the BlockCache > ------------------------------------------------------------------------ > > Key: HBASE-4752 > URL: https://issues.apache.org/jira/browse/HBASE-4752 > Project: HBase > Issue Type: Improvement > Components: performance, regionserver > Affects Versions: 0.90.4 > Reporter: Benoit Sigoure > Assignee: Benoit Sigoure > Priority: Minor > Attachments: 0001-HBASE-4752-Don-t-create-an-unnecessary-LinkedList-wh.patch > > > When evicting from the BlockCache, the code creates a LinkedList containing every single block sorted by access time. This list is created from a PriorityQueue. I don't believe it is necessary, as the PriorityQueue can be used directly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira