Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-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 1DF7A7668 for ; Fri, 2 Sep 2011 14:36:35 +0000 (UTC) Received: (qmail 28593 invoked by uid 500); 2 Sep 2011 14:36:34 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 28534 invoked by uid 500); 2 Sep 2011 14:36:34 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 28526 invoked by uid 99); 2 Sep 2011 14:36:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2011 14:36:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 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; Fri, 02 Sep 2011 14:36:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BE51837B03 for ; Fri, 2 Sep 2011 14:36:09 +0000 (UTC) Date: Fri, 2 Sep 2011 14:36:09 +0000 (UTC) From: "Oliver Sauder (JIRA)" To: issues@commons.apache.org Message-ID: <1388969542.10633.1314974169776.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <972464033.10629.1314973809771.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (BEANUTILS-399) In case of Memory Leak MappedMethodReference does not reconstruct method the same way MappedPropertyDescriptor does 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/BEANUTILS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Sauder updated BEANUTILS-399: ------------------------------------ Attachment: fix-reconstruction-of-lost-method.patch Tried to also create a unit test for this. However I failed to produce a memory leak with MemoryLeakTestCase with my JVM. > In case of Memory Leak MappedMethodReference does not reconstruct method the same way MappedPropertyDescriptor does > ------------------------------------------------------------------------------------------------------------------- > > Key: BEANUTILS-399 > URL: https://issues.apache.org/jira/browse/BEANUTILS-399 > Project: Commons BeanUtils > Issue Type: Bug > Components: Bean / Property Utils > Affects Versions: 1.8.3 > Environment: OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode) > Reporter: Oliver Sauder > Priority: Critical > Fix For: 1.8.4 > > Attachments: fix-reconstruction-of-lost-method.patch > > > In case the MappedMethodReference has lost its reference due to garbage collection the reconstruction only works for methods which have the exact parameter types. In other cases a RuntimeException is thrown. > However when MappedPropertyDescriptor creates such a MappedMethodReference it also finds methods which are compatible for given types. > Marking critical as under high load this bug can occur and stop the system from working as expected. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira