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

Issue 364063007: Use the HeapObjectIterator to scan-on-scavenge map pages. (Closed)

Created:
6 years, 5 months ago by Toon Verwaest
Modified:
6 years, 5 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Use the HeapObjectIterator to scan-on-scavenge map pages. Deserializing the partial snapshot may prematurely stop using a map page, adding a free-space filler at the end. Scan-on-scavenge of map-space did not expect anything but maps, and would interpret the uninitialized memory as pointers. Using the heap iterator we can skip over free space and only visit maps. BUG=390732 LOG=y R=hpayer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=22208

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -57 lines) Patch
M src/store-buffer.h View 1 chunk +0 lines, -12 lines 0 comments Download
M src/store-buffer.cc View 2 chunks +12 lines, -45 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Toon Verwaest
PTAL
6 years, 5 months ago (2014-07-03 16:43:37 UTC) #1
Hannes Payer (out of office)
lgtm
6 years, 5 months ago (2014-07-03 16:46:08 UTC) #2
Toon Verwaest
Committed patchset #1 manually as r22208 (presubmit successful).
6 years, 5 months ago (2014-07-03 16:55:40 UTC) #3
caitp (gmail)
6 years, 5 months ago (2014-07-04 08:12:55 UTC) #4
Message was sent while issue was closed.
On 2014/07/03 16:55:40, Toon Verwaest wrote:
> Committed patchset #1 manually as r22208 (presubmit successful).

Not positive, but this CL may have been responsible for -Wunused-function errors
in bleeding_edge which I'm noticing this morning.

> ../src/store-buffer.cc:407:23: error: unused function 'MapStartAlign'
[-Werror,-Wunused-function]
> static inline Address MapStartAlign(Address addr) {
>                   ^
> ../src/store-buffer.cc:414:23: error: unused function 'MapEndAlign'
[-Werror,-Wunused-function]
> static inline Address MapEndAlign(Address addr) {
>                      ^

Powered by Google App Engine
This is Rietveld 408576698