lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5700) Add 'accountable' interface for various ramBytesUsed
Date Fri, 30 May 2014 07:02:02 GMT

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

ASF subversion and git services commented on LUCENE-5700:
---------------------------------------------------------

Commit 1598470 from [~jpountz] in branch 'dev/trunk'
[ https://svn.apache.org/r1598470 ]

LUCENE-5700: Add oal.util.Accountable and make all classes that can compute their memory usage
implement it.

> Add 'accountable' interface for various ramBytesUsed
> ----------------------------------------------------
>
>                 Key: LUCENE-5700
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5700
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5700.patch
>
>
> Currently this is a disaster. there is ramBytesUsed(), sizeInBytes(), etc etc everywhere,
with zero consistency, little javadocs, and no structure. For example, look at LUCENE-5695,
where we go back and forth on how to handle "don't know". 
> I don't think we should add any more of these methods to any classes in lucene until
this has been cleaned up.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message