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

Issue 2172583002: [interpreter] Add OSR nesting level to bytecode header. (Closed)

Created:
4 years, 5 months ago by Michael Starzinger
Modified:
4 years, 4 months ago
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan, Michael Hablich
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[interpreter] Add OSR nesting level to bytecode header. This adds a new field to the header of every BytecodeArray which stores the current nesting level up to which loop back edges are armed as OSR points. The intention is to arm OSR points incrementally from outermost to innermost until one fires (similar to OSR from FullCodegen). R=rmcilroy@chromium.org BUG=v8:4764 Committed: https://crrev.com/b54e49ae49f162fbe3e46eaa8d9ba89ab0de2411 Cr-Commit-Position: refs/heads/master@{#38017}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments. #

Patch Set 3 : Add TODO. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -23 lines) Patch
M src/flag-definitions.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/full-codegen/full-codegen.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/heap/heap.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 5 chunks +14 lines, -6 lines 0 comments Download
M src/objects-inl.h View 1 2 chunks +10 lines, -1 line 0 comments Download
M src/runtime-profiler.cc View 1 2 chunks +18 lines, -6 lines 0 comments Download
M src/runtime/runtime-test.cc View 1 1 chunk +6 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (12 generated)
Michael Starzinger
4 years, 5 months ago (2016-07-21 09:49:21 UTC) #3
Hannes Payer (out of office)
heap lgtm
4 years, 5 months ago (2016-07-21 19:06:36 UTC) #7
rmcilroy
LGTM with two optional suggestions. https://codereview.chromium.org/2172583002/diff/1/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/2172583002/diff/1/src/objects-inl.h#newcode4104 src/objects-inl.h:4104: DCHECK(0 <= depth && ...
4 years, 5 months ago (2016-07-22 09:46:01 UTC) #8
Michael Starzinger
Comments addressed. https://codereview.chromium.org/2172583002/diff/1/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/2172583002/diff/1/src/objects-inl.h#newcode4104 src/objects-inl.h:4104: DCHECK(0 <= depth && depth <= Code::kMaxLoopNestingMarker); ...
4 years, 4 months ago (2016-07-25 10:24:42 UTC) #9
rmcilroy
Still LGTM, thanks. https://codereview.chromium.org/2172583002/diff/1/src/objects.h File src/objects.h (right): https://codereview.chromium.org/2172583002/diff/1/src/objects.h#newcode4562 src/objects.h:4562: static const int kHeaderSize = kOSRNestingLevelOffset ...
4 years, 4 months ago (2016-07-25 11:14:47 UTC) #10
Michael Starzinger
Thanks. Added TODO. Landing. https://codereview.chromium.org/2172583002/diff/1/src/objects.h File src/objects.h (right): https://codereview.chromium.org/2172583002/diff/1/src/objects.h#newcode4562 src/objects.h:4562: static const int kHeaderSize = ...
4 years, 4 months ago (2016-07-25 11:21:28 UTC) #13
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/2172583002/40001
4 years, 4 months ago (2016-07-25 12:17:26 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-07-25 12:19:28 UTC) #19
commit-bot: I haz the power
4 years, 4 months ago (2016-07-25 12:22:50 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b54e49ae49f162fbe3e46eaa8d9ba89ab0de2411
Cr-Commit-Position: refs/heads/master@{#38017}

Powered by Google App Engine
This is Rietveld 408576698