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

Issue 183883011: Differentate between code target pointers and heap pointers in constant pools. (Closed)

Created:
6 years, 9 months ago by rmcilroy
Modified:
6 years, 9 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Differentate between code target pointers and heap pointers in constant pools. Separate out code target pointers from normal heap pointer entries in constant pool arrays so that the GC can correctly relocate these pointers using the appropriate mechanism. R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=19773

Patch Set 1 #

Patch Set 2 : Fix typo #

Patch Set 3 : Fix test #

Patch Set 4 : #

Patch Set 5 : Minor fix to ConstantPoolArray visiting #

Total comments: 12

Patch Set 6 : Always initialize and verify constant pool code entries #

Total comments: 12

Patch Set 7 : Address nits. #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -116 lines) Patch
M src/factory.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/factory.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M src/heap.h View 1 2 3 4 5 6 1 chunk +4 lines, -3 lines 0 comments Download
M src/heap.cc View 1 2 3 4 5 3 chunks +30 lines, -16 lines 0 comments Download
M src/mark-compact.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/mark-compact.cc View 6 chunks +37 lines, -20 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 5 chunks +44 lines, -21 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -7 lines 0 comments Download
M src/objects-debug.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M src/objects-inl.h View 7 chunks +47 lines, -18 lines 0 comments Download
M src/objects-printer.cc View 1 chunk +6 lines, -3 lines 0 comments Download
M src/objects-visiting-inl.h View 1 2 3 4 5 6 7 1 chunk +10 lines, -10 lines 0 comments Download
M test/cctest/test-constantpool.cc View 1 2 3 2 chunks +29 lines, -11 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
rmcilroy
This is what we discussed on Friday. The main reason for this change is the ...
6 years, 9 months ago (2014-03-03 15:43:47 UTC) #1
Michael Starzinger
Looking good. Just one concern about the initialization of the code entry pointers within the ...
6 years, 9 months ago (2014-03-07 15:07:46 UTC) #2
rmcilroy
Addressed initialization and verification of code entrys - PTAL. https://codereview.chromium.org/183883011/diff/80001/src/heap.cc File src/heap.cc (right): https://codereview.chromium.org/183883011/diff/80001/src/heap.cc#newcode5312 src/heap.cc:5312: ...
6 years, 9 months ago (2014-03-10 14:03:05 UTC) #3
Michael Starzinger
LGTM, just a few nits. https://codereview.chromium.org/183883011/diff/100001/src/heap.h File src/heap.h (right): https://codereview.chromium.org/183883011/diff/100001/src/heap.h#newcode1013 src/heap.h:1013: int first_int64_index, nit: For ...
6 years, 9 months ago (2014-03-10 15:00:37 UTC) #4
rmcilroy
https://codereview.chromium.org/183883011/diff/100001/src/heap.h File src/heap.h (right): https://codereview.chromium.org/183883011/diff/100001/src/heap.h#newcode1013 src/heap.h:1013: int first_int64_index, On 2014/03/10 15:00:38, Michael Starzinger wrote: > ...
6 years, 9 months ago (2014-03-10 16:55:19 UTC) #5
rmcilroy
6 years, 9 months ago (2014-03-10 19:05:55 UTC) #6
Message was sent while issue was closed.
Committed patchset #8 manually as r19773 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698