Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 095E0DAB5 for ; Mon, 13 Aug 2012 14:38:38 +0000 (UTC) Received: (qmail 6806 invoked by uid 500); 13 Aug 2012 14:38:38 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 6771 invoked by uid 500); 13 Aug 2012 14:38:38 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 6763 invoked by uid 99); 13 Aug 2012 14:38:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2012 14:38:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 304212C5ACA for ; Mon, 13 Aug 2012 14:38:38 +0000 (UTC) Date: Tue, 14 Aug 2012 01:38:38 +1100 (NCT) From: "Piotr Bzdyl (JIRA)" To: issues@camel.apache.org Message-ID: <391432156.1913.1344868718198.JavaMail.jiratomcat@arcas> In-Reply-To: <2017348598.50154.1340607705335.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Comment Edited] (CAMEL-5392) Optimize bean expression with local introspection cache to avoid re introspection when not needed 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/CAMEL-5392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428014#comment-13428014 ] Piotr Bzdyl edited comment on CAMEL-5392 at 8/14/12 1:37 AM: ------------------------------------------------------------- FYI: This change also fixes XPathBuilder thread local memory leak reported in [CAMEL-3813]. Please, take a look at more info in [my comment|https://issues.apache.org/jira/browse/CAMEL-3813?focusedCommentId=13424875&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13424875]. was (Author: pbzdyl): FYI: This change also fixes XPathBuilder thread local memory leak (or rather unintentional object retention) reported in [CAMEL-3813]. Please, take a look at more info in [my comment|https://issues.apache.org/jira/browse/CAMEL-3813?focusedCommentId=13424875&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13424875]. > Optimize bean expression with local introspection cache to avoid re introspection when not needed > ------------------------------------------------------------------------------------------------- > > Key: CAMEL-5392 > URL: https://issues.apache.org/jira/browse/CAMEL-5392 > Project: Camel > Issue Type: Improvement > Components: camel-core > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.9.3, 2.10.0 > > Attachments: bean-expression.diff > > > See nabble > http://camel.465427.n5.nabble.com/Bean-Expression-Performance-tp5715003.html > A bean expression is dynamic evaluated on each exchange. But the bean type and method may match previous evaluation, and therefore the introspection can be locally cached to avoid re introspection. -- 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