gaussianrecurrence opened a new pull request #687:
URL: https://github.com/apache/geode-native/pull/687
- Whenever LRU eviction was enabled it was noted an slight increase in the
memory usage.
Specifically in an scenario in which a set of entries are continously
created and destroyed.
- Problem was that entries within LRUList where inserted but not removed
until LRU
eviction happened and in the described case above, that was never.
- Solution was to replace the LRUList by a refactored version called
LRUQueue and
also to remove the entries from the queue upon destroy or invalidation.
- Also a dead-lock between EvictionController and EvictionThread has been
solved.
However this part is asking for a refactor.
- Unit tests have been added for the LRUQueue.
- Integration test have been added in the new integration test for the LRU
eviction.
- Also a wrongly implemented LRU eviction test was removed from the old
integration tests.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]