commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Sauder (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BEANUTILS-399) In case of Memory Leak MappedMethodReference does not reconstruct method the same way MappedPropertyDescriptor does
Date Fri, 02 Sep 2011 14:36:09 GMT

     [ 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

        

Mime
View raw message