sapling/eden/fs/journal
Chad Austin e6ab9d58a2 Fix stack overflow when destroying long Journal
Summary:
While destroying JournalDelta entries, unzip the chain as we go and
destroy each entry one by one. This prevents the stack from
overflowing on long JournalDelta chains and should fix some flaky
tests.

Reviewed By: wez

Differential Revision: D9355365

fbshipit-source-id: 31af124d318ca5d7a84314b707e1b3c71b2ccaa9
2018-08-17 21:06:53 -07:00
..
test Fix stack overflow when destroying long Journal 2018-08-17 21:06:53 -07:00
CMakeLists.txt add CMake build files 2018-04-30 14:37:46 -07:00
Journal.cpp Replace shared_ptr<JournalDelta> with a custom intrusive JournalDeltaPtr 2018-08-17 21:06:53 -07:00
Journal.h Replace shared_ptr<JournalDelta> with a custom intrusive JournalDeltaPtr 2018-08-17 21:06:53 -07:00
JournalDelta.cpp Fix stack overflow when destroying long Journal 2018-08-17 21:06:53 -07:00
JournalDelta.h Fix stack overflow when destroying long Journal 2018-08-17 21:06:53 -07:00
JournalDeltaPtr.cpp Replace shared_ptr<JournalDelta> with a custom intrusive JournalDeltaPtr 2018-08-17 21:06:53 -07:00
JournalDeltaPtr.h Replace shared_ptr<JournalDelta> with a custom intrusive JournalDeltaPtr 2018-08-17 21:06:53 -07:00