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

Issue 2248673002: Avoid accessing Isolate in source position logging. (Closed)

Created:
4 years, 4 months ago by rmcilroy
Modified:
4 years, 4 months ago
CC:
v8-reviews_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com, Yang, oth, rmcilroy, v8-mips-ports_googlegroups.com, ahaas
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Avoid accessing Isolate in source position logging. Now that all backends use the source position builder to record source positions, simplify the code line logging events to take a source position table on code creation. This means that the source position table builder no longer needs to access the isolate until the table is generated. This is required for off-thread bytecode generation. BUG=v8:5203 Committed: https://crrev.com/b8b4a443b8e7707ada2328af8158e5c14c0198a9 Cr-Commit-Position: refs/heads/master@{#38676}

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -145 lines) Patch
M src/compiler/code-generator.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/lithium.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M src/crankshaft/lithium-codegen.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/ppc/lithium-codegen-ppc.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/s390/lithium-codegen-s390.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/x64/lithium-codegen-x64.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/x87/lithium-codegen-x87.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/debug/liveedit.cc View 3 chunks +12 lines, -13 lines 0 comments Download
M src/full-codegen/full-codegen.h View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/full-codegen.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/interpreter/bytecode-array-writer.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M src/log.h View 2 chunks +3 lines, -15 lines 0 comments Download
M src/log.cc View 3 chunks +18 lines, -31 lines 0 comments Download
M src/objects.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 chunk +8 lines, -0 lines 0 comments Download
M src/source-position-table.h View 1 chunk +4 lines, -8 lines 0 comments Download
M src/source-position-table.cc View 2 chunks +9 lines, -27 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-writer-unittest.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M test/unittests/source-position-table-unittest.cc View 4 chunks +13 lines, -8 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (13 generated)
rmcilroy
jgruber@ for debug/, log.* and source position changes. bmeurer@ for backends. ahaas@ FYI (might be ...
4 years, 4 months ago (2016-08-15 12:43:03 UTC) #8
jgruber
lgtm
4 years, 4 months ago (2016-08-16 07:46:15 UTC) #11
rmcilroy
+Toon for Crankshaft +Michi for other backends. PTAL, thanks.
4 years, 4 months ago (2016-08-16 09:19:32 UTC) #13
rmcilroy
+Toon's Chromium account
4 years, 4 months ago (2016-08-16 09:20:16 UTC) #15
Michael Starzinger
LGTM from my end. I like it.
4 years, 4 months ago (2016-08-16 09:28:05 UTC) #16
Toon Verwaest
Oh my, the code is readable. lgtm
4 years, 4 months ago (2016-08-16 19:45:22 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/2248673002/60001
4 years, 4 months ago (2016-08-17 09:06:24 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 4 months ago (2016-08-17 09:31:30 UTC) #20
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 09:31:49 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b8b4a443b8e7707ada2328af8158e5c14c0198a9
Cr-Commit-Position: refs/heads/master@{#38676}

Powered by Google App Engine
This is Rietveld 408576698