Revision 3e4a9ec2413aa39ae550dded6fa75d3a601d748b authored by sdong on 09 May 2014, 18:01:54 UTC, committed by sdong on 14 May 2014, 18:49:01 UTC
Summary: In order to use arena to a use case that the total allocation size might be small (LogBuffer is already such a case), inline 1KB of data in it, so that it can be mostly in stack or inline in another class. If always inlining 2KB is a concern, I could make it a template to determine what to inline. However, dependents need to changes. Doesn't go with it for now Test Plan: make all check. Reviewers: haobo, igor, yhchiang, dhruba Reviewed By: haobo CC: leveldb Differential Revision: https://reviews.facebook.net/D18609
1 parent 1ef31b6
File | Mode | Size |
---|---|---|
win | ||
README | -rw-r--r-- | 405 bytes |
atomic_pointer.h | -rw-r--r-- | 4.9 KB |
likely.h | -rw-r--r-- | 780 bytes |
port.h | -rw-r--r-- | 917 bytes |
port_example.h | -rw-r--r-- | 4.5 KB |
port_posix.cc | -rw-r--r-- | 3.0 KB |
port_posix.h | -rw-r--r-- | 13.1 KB |
stack_trace.cc | -rw-r--r-- | 3.3 KB |
stack_trace.h | -rw-r--r-- | 678 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...