rocksdb/.circleci
Peter Dillinger 8367f0d2d7 Improve / refactor anonymous mmap capabilities (#10810)
Summary:
The motivation for this change is a planned feature (related to HyperClockCache) that will depend on a large array that can essentially grow automatically, up to some bound, without the pointer address changing and with guaranteed zero-initialization of the data. Anonymous mmaps provide such functionality, and this change provides an internal API for that.

The other existing use of anonymous mmap in RocksDB is for allocating in huge pages. That code and other related Arena code used some awkward non-RAII and pre-C++11 idioms, so I cleaned up much of that as well, with RAII, move semantics, constexpr, etc.

More specifcs:
* Minimize conditional compilation
* Add Windows support for anonymous mmaps
* Use std::deque instead of std::vector for more efficient bag

Pull Request resolved: https://github.com/facebook/rocksdb/pull/10810

Test Plan: unit test added for new functionality

Reviewed By: riversand963

Differential Revision: D40347204

Pulled By: pdillinger

fbshipit-source-id: ca83fcc47e50fabf7595069380edd2954f4f879c
2022-10-17 17:10:16 -07:00
..
config.yml Improve / refactor anonymous mmap capabilities (#10810) 2022-10-17 17:10:16 -07:00
ubsan_suppression_list.txt Add ubsan_check to CircleCI runs (#7112) 2020-07-10 20:03:41 -07:00
vs2015_install.ps1 Small improvements to CircleCI Windows jobs (#7852) 2021-01-11 13:32:07 -08:00
vs2017_install.ps1 Small improvements to CircleCI Windows jobs (#7852) 2021-01-11 13:32:07 -08:00