[ https://issues.apache.org/jira/browse/LUCENE-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790314#action_12790314 ]
Earwin Burrfoot commented on LUCENE-2156: ----------------------------------------- Did I miss you exploiting 'atomicity' of IW flags? For what I see you could declare them volatile with same result and less characters typed. > use AtomicInteger/Boolean to track IR.refCount and IW.closed > ------------------------------------------------------------ > > Key: LUCENE-2156 > URL: https://issues.apache.org/jira/browse/LUCENE-2156 > Project: Lucene - Java > Issue Type: Improvement > Components: Index > Reporter: Michael McCandless > Assignee: Michael McCandless > Priority: Minor > Fix For: 3.1 > > Attachments: LUCENE-2156.patch > > > Less costly than synchronized methods we have now... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org