Commit ca401356 authored by Hannes Payer's avatar Hannes Payer Committed by Commit Bot

Reland "[snapshot] Reduce serialization chunk size to 4K."

This is a reland of 2265a852

Original change's description:
> [snapshot] Reduce serialization chunk size to 4K.
>
> This change may slow down deserialization of the snapshot but may result in less fragmentation.
>
> Bug: v8:7887
> Change-Id: Id8bb9f1a561b08b7ae0f10b80aa77bc00eb23172
> Reviewed-on: https://chromium-review.googlesource.com/1125722
> Reviewed-by: Yang Guo <yangguo@chromium.org>
> Commit-Queue: Hannes Payer <hpayer@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#54198}

TBR=hpayer@chromium.org

Bug: v8:7887
Change-Id: If03f241a80341cb053190c5bc0451fe9a032e1a8
Reviewed-on: https://chromium-review.googlesource.com/1126899Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54241}
parent 59af0c3e
......@@ -1084,7 +1084,8 @@ DEFINE_BOOL(profile_deserialization, false,
"Print the time it takes to deserialize the snapshot.")
DEFINE_BOOL(serialization_statistics, false,
"Collect statistics on serialized objects.")
DEFINE_UINT(serialization_chunk_size, 0, "Custom size for serialization chunks")
DEFINE_UINT(serialization_chunk_size, 4096,
"Custom size for serialization chunks")
// Regexp
DEFINE_BOOL(regexp_optimization, true, "generate optimized regexp code")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment