Skip to content

Commit ca07db7

Browse files
authored
Prevent inlining in addMemoryChunk()
1 parent 2feb9d0 commit ca07db7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/Arena.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class Arena : private boost::noncopyable
146146
}
147147

148148
/// Add next contiguous MemoryChunk of memory with size not less than specified.
149-
void PRESERVE_MOST addMemoryChunk(size_t min_size)
149+
void PRESERVE_MOST NO_INLINE addMemoryChunk(size_t min_size)
150150
{
151151
size_t next_size = nextSize(min_size + pad_right);
152152
if (head.empty())

0 commit comments

Comments
 (0)