[hibernate-issues] [Hibernate-JIRA] Commented: (HV-495) Many locks on AnnotatedElements
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Wed Jun 15 09:45:24 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HV-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42601#action_42601 ]
Hardy Ferentschik commented on HV-495:
--------------------------------------
Hi,
thanks for the info and patch. We definitely look into it. Not sure if this optimization will make it into the 4.2 Final release, but we are already planning a extended profiling for an early 4.3 release.
Do you have any more information which would help us to reproduce this performance problem? Maybe same sample code of your annotated classes? Also can you give more information regarding the locks you are mentioning?
> Many locks on AnnotatedElements
> -------------------------------
>
> Key: HV-495
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-495
> Project: Hibernate Validator
> Issue Type: Patch
> Components: validators
> Affects Versions: 4.2.0.CR1
> Environment: GNU/Linux, JVM 6.0, Hibernate Validator 4.2.0.CR1
> Reporter: Loïc DIAS DA SILVA
> Attachments: jmeter-graph.docx, patch-ldds.patch
>
>
> Hi all, we use Hibernate Validator 4.2.0-CR1 (previously Apache BVAL) for one of our API projects.
> All is working fine for our needs except one big issue recently discovered during JMeter tests.
> Several injectors make many requests from some Amazon cloud servers to our API and starting from a number of requests the response time begins to increase eavily, making a big jump from about 100ms in average to more than 5s.
> After investigating we have seen many locks in some AnnotatedElement methods (mainly getAnnotation).
> I've then made a little patch on hibernate in order to cache this kind of requests as i've not found any other cleaver/yet implemented way..
> Since this patch all is working very well for us..
> Regards.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list