[ https://issues.apache.org/jira/browse/LUCENE-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless updated LUCENE-6349: --------------------------------------- Attachment: LUCENE-6349.patch Simple patch, I think it's ready. > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org