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 1345B188E6 for ; Wed, 7 Oct 2015 05:23:28 +0000 (UTC) Received: (qmail 55606 invoked by uid 500); 7 Oct 2015 05:23:27 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 55556 invoked by uid 500); 7 Oct 2015 05:23:27 -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 55542 invoked by uid 99); 7 Oct 2015 05:23:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2015 05:23:27 +0000 Date: Wed, 7 Oct 2015 05:23:27 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12615) Document GC conserving guidelines for contributors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-12615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14946275#comment-14946275 ] Hudson commented on HBASE-12615: -------------------------------- FAILURE: Integrated in HBase-TRUNK #6880 (See [https://builds.apache.org/job/HBase-TRUNK/6880/]) HBASE-12615 Document GC conserving guidelines for contributors (mstanleyjones: rev d55f4aee4ff7e952eedbd04565e1b5f7b67379f5) * src/main/asciidoc/_chapters/developer.adoc > Document GC conserving guidelines for contributors > -------------------------------------------------- > > Key: HBASE-12615 > URL: https://issues.apache.org/jira/browse/HBASE-12615 > Project: HBase > Issue Type: Bug > Components: documentation > Reporter: Andrew Purtell > Assignee: Misty Stanley-Jones > Fix For: 2.0.0 > > Attachments: HBASE-12615.patch > > > LinkedIn put up a blog post with a nice concise list of GC conserving techniques we should document for contributors. Additionally, when we're at a point our build supports custom error-prone plugins, we can develop warnings for some of them. > Source: http://engineering.linkedin.com/performance/linkedin-feed-faster-less-jvm-garbage > - Be careful with Iterators > - Estimate the size of a collection when initializing > - Defer expression evaluation > - Compile the regex patterns in advance > - Cache it if you can > - String Interns are useful but dangerous > All good advice and practice that I know we aim for. -- This message was sent by Atlassian JIRA (v6.3.4#6332)