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

Issue 1314953004: [interpreter] Add constant_pool() to BytecodeArray. (Closed)

Created:
5 years, 4 months ago by rmcilroy
Modified:
5 years, 3 months ago
CC:
v8-dev, Michael Starzinger, oth
Base URL:
https://chromium.googlesource.com/v8/v8.git@int_args
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[interpreter] Add constant_pool() to BytecodeArray. Adds a (currently unused) constant_pool() field to BytecodeArray objects. This field points to a FixedArray object which will be used to hold constants. The BytecodeArray is now a mixed values object type, with the kConstantPoolOffset object holding a tagged pointer, but the remainder of the object holding raw bytes (which could look like tagged pointers but are not). Modify the BytecodeArray GC visitors to deal with this and test that the field is migrated properly when evacuated. BUG=v8:4280 LOG=N Committed: https://crrev.com/69ce0f4dc79a5606eec03accd81832aaeaa16075 Cr-Commit-Position: refs/heads/master@{#30404}

Patch Set 1 #

Patch Set 2 : Fix store buffer. #

Total comments: 2

Patch Set 3 : Fix test flag. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -24 lines) Patch
M src/factory.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/factory.cc View 1 2 1 chunk +6 lines, -7 lines 0 comments Download
M src/heap/heap.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/heap/heap.cc View 1 2 3 chunks +7 lines, -2 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M src/heap/objects-visiting.h View 3 chunks +2 lines, -4 lines 0 comments Download
M src/heap/objects-visiting.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/heap/objects-visiting-inl.h View 3 chunks +22 lines, -1 line 0 comments Download
M src/heap/store-buffer.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M src/objects.h View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M src/objects.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/objects-debug.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 2 3 chunks +10 lines, -0 lines 0 comments Download
M test/cctest/test-heap.cc View 1 2 2 chunks +20 lines, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 21 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314953004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314953004/1
5 years, 4 months ago (2015-08-25 23:54:31 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel/builds/3663)
5 years, 4 months ago (2015-08-26 00:05:05 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314953004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314953004/1
5 years, 4 months ago (2015-08-26 08:52:09 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel/builds/3679)
5 years, 4 months ago (2015-08-26 09:02:14 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314953004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314953004/20001
5 years, 3 months ago (2015-08-26 12:54:28 UTC) #10
rmcilroy
Hannes, could you take a look please? Please let me know if I've missed any ...
5 years, 3 months ago (2015-08-26 13:21:03 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-26 13:25:53 UTC) #14
Hannes Payer (out of office)
lgtm, one test nit https://codereview.chromium.org/1314953004/diff/20001/test/cctest/test-heap.cc File test/cctest/test-heap.cc (right): https://codereview.chromium.org/1314953004/diff/20001/test/cctest/test-heap.cc#newcode710 test/cctest/test-heap.cc:710: i::FLAG_always_compact = true; The flag ...
5 years, 3 months ago (2015-08-26 22:19:50 UTC) #15
rmcilroy
https://codereview.chromium.org/1314953004/diff/20001/test/cctest/test-heap.cc File test/cctest/test-heap.cc (right): https://codereview.chromium.org/1314953004/diff/20001/test/cctest/test-heap.cc#newcode710 test/cctest/test-heap.cc:710: i::FLAG_always_compact = true; On 2015/08/26 22:19:49, Hannes Payer wrote: ...
5 years, 3 months ago (2015-08-27 10:19:48 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314953004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314953004/40001
5 years, 3 months ago (2015-08-27 10:45:28 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 3 months ago (2015-08-27 11:11:14 UTC) #20
commit-bot: I haz the power
5 years, 3 months ago (2015-08-27 11:12:07 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/69ce0f4dc79a5606eec03accd81832aaeaa16075
Cr-Commit-Position: refs/heads/master@{#30404}

Powered by Google App Engine
This is Rietveld 408576698