mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Sekretenko <asekrete...@mesosphere.io>
Subject Review Request 72785: Introduced a weak_ptr-based cache abstraction.
Date Mon, 17 Aug 2020 20:20:18 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72785/
-----------------------------------------------------------

Review request for mesos and Benjamin Mahler.


Bugs: MESOS-10173
    https://issues.apache.org/jira/browse/MESOS-10173


Repository: mesos


Description
-------

This patch adds a key-value cache that hands out shared pointers to
cached items, but itself does not own the items (hence, the items get
deleted as soon as they are no longer referenced by anything else).


Diffs
-----

  3rdparty/stout/include/stout/weak_cache.hpp PRE-CREATION 
  3rdparty/stout/tests/CMakeLists.txt e3291c72d1875f5b196dd5ea2ba20e7d53881b87 
  3rdparty/stout/tests/weak_cache_tests.cpp PRE-CREATION 


Diff: https://reviews.apache.org/r/72785/diff/1/


Testing
-------


Thanks,

Andrei Sekretenko


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message