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
History
File Mode Size
build_detect_platform -rwxr-xr-x 11.0 KB
build_detect_version -rwxr-xr-x 810 bytes
fbcode.clang31.sh -rw-r--r-- 3.9 KB
fbcode.gcc471.sh -rw-r--r-- 3.2 KB
fbcode.gcc481.sh -rw-r--r-- 3.8 KB
format-diff.sh -rwxr-xr-x 3.3 KB
mac-install-gflags.sh -rwxr-xr-x 731 bytes
make_new_version.sh -rwxr-xr-x 1.1 KB
regression_build_test.sh -rwxr-xr-x 8.7 KB
valgrind_test.sh -rwxr-xr-x 440 bytes

back to top