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

Issue 2534763003: [Interpreter] Add bytecode aging and use it enable CompilationCache for bytecode (Closed)

Created:
4 years ago by rmcilroy
Modified:
4 years ago
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Add bytecode aging and use it enable CompilationCache for bytecode Adds a bytecode_age field to BytecodeArray objects. This is incremented each time the bytecode array is marked by GC, and reset to zero if the bytecode is executed. This is used to enable the CompilationCache for interpreted functions, where Interpreted entries are evicted once the bytecode becomes old. BUG=chromium:666275, v8:4680 Committed: https://crrev.com/067e9e295fa50a3d4a5eb77e6515f30df944069f Cr-Commit-Position: refs/heads/master@{#41356}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comments and fix BytecodeArray copy. #

Patch Set 3 : Add ports #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -24 lines) Patch
M src/builtins/arm/builtins-arm.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/builtins/arm64/builtins-arm64.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/builtins/ia32/builtins-ia32.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/builtins/mips/builtins-mips.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/builtins/mips64/builtins-mips64.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/builtins/ppc/builtins-ppc.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/builtins/s390/builtins-s390.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/builtins/x64/builtins-x64.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/builtins/x87/builtins-x87.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M src/heap/objects-visiting.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/objects-visiting-inl.h View 1 2 3 3 chunks +8 lines, -5 lines 0 comments Download
M src/objects.h View 1 2 3 4 chunks +21 lines, -1 line 0 comments Download
M src/objects.cc View 1 2 3 2 chunks +18 lines, -1 line 0 comments Download
M src/objects-inl.h View 1 2 3 1 chunk +11 lines, -1 line 0 comments Download
M test/cctest/cctest.status View 1 chunk +0 lines, -14 lines 0 comments Download
M test/cctest/heap/test-heap.cc View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 28 (19 generated)
rmcilroy
Hannes / Michi, PTAL. I'll port to other architectures if you are happy with the ...
4 years ago (2016-11-28 14:04:35 UTC) #4
Michael Starzinger
LGTM from my end. https://codereview.chromium.org/2534763003/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2534763003/diff/20001/src/objects.cc#newcode15184 src/objects.cc:15184: DCHECK_LE(age, kLastBytecodeAge); nit: Shouldn't these ...
4 years ago (2016-11-28 14:21:30 UTC) #6
rmcilroy
https://codereview.chromium.org/2534763003/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2534763003/diff/20001/src/objects.cc#newcode15184 src/objects.cc:15184: DCHECK_LE(age, kLastBytecodeAge); On 2016/11/28 14:21:30, Michael Starzinger wrote: > ...
4 years ago (2016-11-28 14:29:04 UTC) #7
Hannes Payer (out of office)
lgtm
4 years ago (2016-11-29 10:21:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2534763003/60001
4 years ago (2016-11-29 11:36:22 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/13236) v8_linux64_avx2_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
4 years ago (2016-11-29 11:37:52 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2534763003/80001
4 years ago (2016-11-29 12:32:33 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years ago (2016-11-29 12:34:36 UTC) #26
commit-bot: I haz the power
4 years ago (2016-11-29 12:35:09 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/067e9e295fa50a3d4a5eb77e6515f30df944069f
Cr-Commit-Position: refs/heads/master@{#41356}

Powered by Google App Engine
This is Rietveld 408576698