Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Issue 689663002: Fix not proper chunk sizes in serializer. (Closed)

Created:
6 years, 1 month ago by Slava Chigrin
Modified:
6 years, 1 month ago
Reviewers:
Yang
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Fix not proper chunk sizes in serializer. Executable page have guard areas in the begin and end, so maximum payload size is smaller for them. Too large allocations during deserializing caused incorrect registrations in Page::skip_list, so InnerPointerToCodeCache::GcSafeFindCodeForInnerPointer did not work correctly.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M src/serialize.cc View 1 chunk +7 lines, -1 line 1 comment Download

Messages

Total messages: 3 (1 generated)
Slava Chigrin
6 years, 1 month ago (2014-10-29 15:29:01 UTC) #2
Yang
6 years, 1 month ago (2014-10-30 09:36:29 UTC) #3
I made a more comprehensive version that cleans up more things. Thanks for
finding this!

https://codereview.chromium.org/689663002/diff/1/src/serialize.cc
File src/serialize.cc (right):

https://codereview.chromium.org/689663002/diff/1/src/serialize.cc#newcode1923
src/serialize.cc:1923: Page::kMaxRegularHeapObjectSize;
Wouldn't it be easier to use MemoryAllocator::CodePageAreaSize()?

Powered by Google App Engine
This is Rietveld 408576698