You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2015/03/08 22:20:38 UTC
[jira] [Resolved] (LUCENE-6349) Call hashCode outside of sync in
UsageTrackingQueryCachingPolicy.onUse?
[ https://issues.apache.org/jira/browse/LUCENE-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-6349.
----------------------------------------
Resolution: Fixed
> Call hashCode outside of sync in UsageTrackingQueryCachingPolicy.onUse?
> -----------------------------------------------------------------------
>
> Key: LUCENE-6349
> URL: https://issues.apache.org/jira/browse/LUCENE-6349
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Fix For: Trunk, 5.1
>
> Attachments: LUCENE-6349.patch
>
>
> The Query.hashCode call might be somewhat expensive? Can/should we call it up front outside of the sync block?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org