Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73E5918999 for ; Fri, 13 Nov 2015 20:46:16 +0000 (UTC) Received: (qmail 96379 invoked by uid 500); 13 Nov 2015 20:46:11 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 96314 invoked by uid 500); 13 Nov 2015 20:46:11 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 96009 invoked by uid 99); 13 Nov 2015 20:46:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Nov 2015 20:46:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 094F22C1F5C for ; Fri, 13 Nov 2015 20:46:11 +0000 (UTC) Date: Fri, 13 Nov 2015 20:46:11 +0000 (UTC) From: "Eric Newton (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-4041) Java reflection eats too much CPU 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/ACCUMULO-4041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Newton updated ACCUMULO-4041: ---------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) > Java reflection eats too much CPU > --------------------------------- > > Key: ACCUMULO-4041 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4041 > Project: Accumulo > Issue Type: Bug > Components: tserver > Affects Versions: 1.7.0 > Environment: Ubuntu 15.10, jdk1.8.0_60 > Reporter: Volth > Assignee: Eric Newton > Fix For: 1.6.5, 1.7.1, 1.8.0 > > Attachments: ACCUMULO-4041-01.patch, ACCUMULO-4041-experiment.patch, profiling.jpg > > Time Spent: 50m > Remaining Estimate: 0h > > This is called so many times that it eats too much CPU, even more than the snappy compressor: http://i.imgur.com/vqX4pFi.png > Perhaps the annotation data should be copied into regular variables which can be accessed without reflection. > - org.apache.accumulo.core.client.impl.Tables.getZooCache() > - org.apache.accumulo.server.client.HdfsZooInstance.getZooKeepersSessionTimeOut() > - org.apache.accumulo.core.conf.AccumuloConfiguration.getTimeInMillis() > - org.apache.accumulo.core.conf.SiteConfiguration.get() > - org.apache.accumulo.core.conf.Property.isSensitive() > - org.apache.accumulo.core.conf.Property.hasAnnotation() > - java.lang.Class.getField() -- This message was sent by Atlassian JIRA (v6.3.4#6332)