[ 
https://issues.apache.org/jira/browse/LUCY-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14311835#comment-14311835
 ] 

Marvin Humphrey commented on LUCY-274:
--------------------------------------

Eliminating method overriding of refcounting for RawPosting means that we now 
have problems with its destructor being called.  The best solution seems to be 
to make the destructor a no-op, though it's a little dangerous because we won't 
have the destructor as a fail-safe anymore if we screw up.  Long-term, this 
might get solved by refactoring Analyzer to use streams rather than arrays of 
RawPostings.

> Refcounting needs to use functions rather than methods
> ------------------------------------------------------
>
>                 Key: LUCY-274
>                 URL: https://issues.apache.org/jira/browse/LUCY-274
>             Project: Lucy
>          Issue Type: Improvement
>          Components: Index, Test, Util
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>
> As of CLOWNFISH-27, refcounting is no longer overrideable.  Lucy needs to use 
> the new API and to eliminate the overriding of refcount manipulation methods 
> for RawPosting.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to