Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5700

Add 'accountable' interface for various ramBytesUsed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.9, 6.0
    • None
    • None
    • New

    Description

      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.

      Attachments

        1. LUCENE-5700.patch
          76 kB
          Adrien Grand

        Issue Links

          Activity

            People

              jpountz Adrien Grand
              rcmuir Robert Muir
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: