Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-5759

VMLRURegionMap.centralizedLruUpdateCallback does not always return the correct value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • eviction
    • None

    Description

      VMLRURegionMap.centralizedLruUpdateCallback is supposed to return the number of bytes it evicts. This is used by the caller to decide if it has done enough work.

      But if centralizedLruUpdateCallback evicts more than one entry then it returns only the number of bytes in the last entry it evicted.

      It should be changed to accumulate how many bytes it evicts.

      This bug will impact heap percentage eviction but not memory byte eviction nor entry count eviction.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dschneider Darrel Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: