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

Issue 1155703006: Revert of Embedded constant pools. (Closed)

Created:
5 years, 6 months ago by Benedikt Meurer
Modified:
5 years, 6 months ago
CC:
v8-dev, Yang, Paweł Hajdan Jr., Benedikt Meurer, danno, dstence, michael_dawson, Sven Panne
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Revert of Embedded constant pools. (patchset #12 id:220001 of https://codereview.chromium.org/1131783003/) Reason for revert: Breaks Linux nosnap cctest/test-api/FastReturnValuesWithProfiler, see http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20nosnap%20-%20debug%20-%202/builds/609/steps/Check/logs/FastReturnValuesWithP.. Original issue's description: > Add support for Embedded Constant Pools for PPC and Arm > > Embed constant pools within their corresponding Code > objects. > > This removes support for out-of-line constant pools in favor > of the new approach -- the main advantage being that it > eliminates the need to allocate and manage separate constant > pool array objects. > > Currently supported on PPC and ARM. Enabled by default on > PPC only. > > This yields a 6% improvment in Octane on PPC64. > > R=danno@chromium.org, svenpanne@chromium.org, bmeurer@chromium.org, rmcilroy@chromium.org, dstence@us.ibm.com, michael_dawson@ca.ibm.com > BUG=chromium:478811 > LOG=Y > > Committed: https://crrev.com/a9404029343d65f146e3443f5280c40a97e736af > Cr-Commit-Position: refs/heads/master@{#28770} TBR=rmcilroy@chromium.org,ishell@chromium.org,rodolph.perfetta@arm.com,mbrandy@us.ibm.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:478811 Committed: https://crrev.com/51439db3b287faed806e9a1cae33bc3498feeaf6 Cr-Commit-Position: refs/heads/master@{#28772}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2545 lines, -1873 lines) Patch
M include/v8.h View 1 chunk +1 line, -1 line 0 comments Download
M src/arm/assembler-arm.h View 12 chunks +95 lines, -47 lines 0 comments Download
M src/arm/assembler-arm.cc View 25 chunks +369 lines, -205 lines 0 comments Download
M src/arm/assembler-arm-inl.h View 6 chunks +12 lines, -10 lines 0 comments Download
M src/arm/builtins-arm.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M src/arm/constants-arm.h View 1 chunk +0 lines, -5 lines 0 comments Download
M src/arm/debug-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/arm/deoptimizer-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/arm/frames-arm.h View 1 chunk +4 lines, -4 lines 0 comments Download
M src/arm/frames-arm.cc View 2 chunks +9 lines, -2 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 4 chunks +6 lines, -5 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 2 chunks +5 lines, -1 line 0 comments Download
M src/arm/macro-assembler-arm.h View 3 chunks +4 lines, -6 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 11 chunks +28 lines, -31 lines 0 comments Download
M src/arm64/assembler-arm64.h View 3 chunks +12 lines, -12 lines 0 comments Download
M src/arm64/assembler-arm64.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M src/arm64/assembler-arm64-inl.h View 3 chunks +6 lines, -4 lines 0 comments Download
M src/arm64/deoptimizer-arm64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/arm64/frames-arm64.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/assembler.h View 7 chunks +27 lines, -130 lines 0 comments Download
M src/assembler.cc View 2 chunks +1 line, -203 lines 0 comments Download
M src/compiler/arm/code-generator-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/ppc/code-generator-ppc.cc View 2 chunks +2 lines, -13 lines 0 comments Download
M src/debug.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/deoptimizer.cc View 11 chunks +11 lines, -11 lines 0 comments Download
M src/factory.h View 2 chunks +10 lines, -0 lines 0 comments Download
M src/factory.cc View 5 chunks +35 lines, -3 lines 0 comments Download
M src/flag-definitions.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/frames.h View 4 chunks +21 lines, -19 lines 0 comments Download
M src/frames.cc View 11 chunks +18 lines, -17 lines 0 comments Download
M src/globals.h View 3 chunks +8 lines, -16 lines 0 comments Download
M src/heap-snapshot-generator.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/heap/heap.h View 7 chunks +24 lines, -0 lines 0 comments Download
M src/heap/heap.cc View 11 chunks +137 lines, -2 lines 0 comments Download
M src/heap/heap-inl.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/heap/mark-compact.h View 2 chunks +0 lines, -3 lines 0 comments Download
M src/heap/mark-compact.cc View 4 chunks +34 lines, -16 lines 0 comments Download
M src/heap/objects-visiting.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/heap/objects-visiting.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/heap/objects-visiting-inl.h View 4 chunks +33 lines, -0 lines 0 comments Download
M src/heap/spaces.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/ia32/assembler-ia32.h View 5 chunks +14 lines, -15 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 2 chunks +14 lines, -6 lines 0 comments Download
M src/ia32/assembler-ia32-inl.h View 2 chunks +4 lines, -8 lines 0 comments Download
M src/ia32/deoptimizer-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/frames-ia32.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/ic/ic.h View 10 chunks +18 lines, -16 lines 0 comments Download
M src/ic/ic.cc View 8 chunks +18 lines, -14 lines 0 comments Download
M src/ic/ic-inl.h View 2 chunks +16 lines, -15 lines 0 comments Download
M src/ic/ic-state.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/ic/ic-state.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ic/ppc/handler-compiler-ppc.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M src/lithium.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/macro-assembler.h View 3 chunks +12 lines, -12 lines 0 comments Download
M src/mips/assembler-mips.h View 4 chunks +14 lines, -14 lines 0 comments Download
M src/mips/assembler-mips.cc View 2 chunks +14 lines, -7 lines 0 comments Download
M src/mips/deoptimizer-mips.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/mips/frames-mips.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/mips64/assembler-mips64.h View 4 chunks +14 lines, -14 lines 0 comments Download
M src/mips64/assembler-mips64.cc View 2 chunks +14 lines, -7 lines 0 comments Download
M src/mips64/deoptimizer-mips64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/mips64/frames-mips64.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/objects.h View 8 chunks +315 lines, -11 lines 0 comments Download
M src/objects.cc View 4 chunks +66 lines, -26 lines 0 comments Download
M src/objects-debug.cc View 2 chunks +17 lines, -0 lines 0 comments Download
M src/objects-inl.h View 10 chunks +402 lines, -13 lines 0 comments Download
M src/objects-printer.cc View 2 chunks +40 lines, -0 lines 0 comments Download
M src/ppc/assembler-ppc.h View 16 chunks +21 lines, -113 lines 0 comments Download
M src/ppc/assembler-ppc.cc View 15 chunks +57 lines, -116 lines 0 comments Download
M src/ppc/assembler-ppc-inl.h View 7 chunks +8 lines, -173 lines 0 comments Download
M src/ppc/builtins-ppc.cc View 15 chunks +14 lines, -23 lines 0 comments Download
M src/ppc/code-stubs-ppc.cc View 9 chunks +7 lines, -15 lines 0 comments Download
M src/ppc/constants-ppc.h View 1 chunk +0 lines, -5 lines 0 comments Download
M src/ppc/debug-ppc.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ppc/deoptimizer-ppc.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/ppc/frames-ppc.h View 1 chunk +2 lines, -5 lines 0 comments Download
M src/ppc/frames-ppc.cc View 1 chunk +10 lines, -4 lines 0 comments Download
M src/ppc/full-codegen-ppc.cc View 3 chunks +1 line, -6 lines 0 comments Download
M src/ppc/lithium-codegen-ppc.cc View 1 chunk +2 lines, -6 lines 0 comments Download
M src/ppc/macro-assembler-ppc.h View 3 chunks +2 lines, -17 lines 0 comments Download
M src/ppc/macro-assembler-ppc.cc View 11 chunks +10 lines, -120 lines 0 comments Download
M src/runtime/runtime-generator.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/snapshot/serialize.cc View 6 chunks +15 lines, -4 lines 0 comments Download
M src/x64/assembler-x64.h View 3 chunks +14 lines, -14 lines 0 comments Download
M src/x64/assembler-x64.cc View 2 chunks +14 lines, -6 lines 0 comments Download
M src/x64/assembler-x64-inl.h View 1 chunk +4 lines, -2 lines 0 comments Download
M src/x64/deoptimizer-x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/frames-x64.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/x87/assembler-x87.h View 5 chunks +14 lines, -15 lines 0 comments Download
M src/x87/assembler-x87.cc View 2 chunks +14 lines, -6 lines 0 comments Download
M src/x87/assembler-x87-inl.h View 2 chunks +4 lines, -8 lines 0 comments Download
M src/x87/deoptimizer-x87.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/x87/frames-x87.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M test/cctest/test-compiler.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M test/cctest/test-constantpool.cc View 1 chunk +322 lines, -232 lines 0 comments Download
M test/cctest/test-reloc-info.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Benedikt Meurer
Created Revert of Embedded constant pools.
5 years, 6 months ago (2015-06-03 03:00:53 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1155703006/1
5 years, 6 months ago (2015-06-03 03:01:43 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 6 months ago (2015-06-03 03:02:34 UTC) #3
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/51439db3b287faed806e9a1cae33bc3498feeaf6 Cr-Commit-Position: refs/heads/master@{#28772}
5 years, 6 months ago (2015-06-03 03:02:50 UTC) #4
MTBrandyberry
On 2015/06/03 03:02:50, commit-bot: I haz the power wrote: > Patchset 1 (id:??) landed as ...
5 years, 6 months ago (2015-06-03 15:44:26 UTC) #5
rmcilroy
On 2015/06/03 15:44:26, mtbrandyberry wrote: > On 2015/06/03 03:02:50, commit-bot: I haz the power wrote: ...
5 years, 6 months ago (2015-06-03 15:54:32 UTC) #6
MTBrandyberry
On 2015/06/03 15:54:32, rmcilroy wrote: > On 2015/06/03 15:44:26, mtbrandyberry wrote: > > On 2015/06/03 ...
5 years, 6 months ago (2015-06-03 16:50:41 UTC) #7
rmcilroy
On 2015/06/03 16:50:41, mtbrandyberry wrote: > On 2015/06/03 15:54:32, rmcilroy wrote: > > On 2015/06/03 ...
5 years, 6 months ago (2015-06-03 17:02:50 UTC) #8
MTBrandyberry
On 2015/06/03 17:02:50, rmcilroy wrote: > On 2015/06/03 16:50:41, mtbrandyberry wrote: > > On 2015/06/03 ...
5 years, 6 months ago (2015-06-03 19:16:53 UTC) #9
rmcilroy
5 years, 6 months ago (2015-06-04 13:48:37 UTC) #10
Message was sent while issue was closed.
On 2015/06/03 19:16:53, mtbrandyberry wrote:
> On 2015/06/03 17:02:50, rmcilroy wrote:
> > On 2015/06/03 16:50:41, mtbrandyberry wrote:
> > > On 2015/06/03 15:54:32, rmcilroy wrote:
> > > > On 2015/06/03 15:44:26, mtbrandyberry wrote:
> > > > > On 2015/06/03 03:02:50, commit-bot: I haz the power wrote:
> > > > > > Patchset 1 (id:??) landed as
> > > > > > https://crrev.com/51439db3b287faed806e9a1cae33bc3498feeaf6
> > > > > > Cr-Commit-Position: refs/heads/master@{#28772}
> > > > > 
> > > > > It's not obvious how this change could have broken this since it
should
> be
> > > > > mostly a no-op for ia32.  Are there build artifacts available that I
can
> > use
> > > > to
> > > > > reproduce the problem and debug?
> > > > 
> > > > You can see the build logs here:
> > > >
> > >
> >
>
http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20nosnap%20-%20...
> > > > 
> > > > You can recreate the build locally by building with something like:
> > > > 
> > > > make ia32.debug snapshot=off
> > > 
> > > I'm not able to reproduce this:
> > > 
> > > $ git log --pretty=oneline -n1
> > > a9404029343d65f146e3443f5280c40a97e736af Add support for Embedded Constant
> > Pools
> > > for PPC and Arm
> > > 
> > > $ make ia32.debug snapshot=off
> > > <...>
> > > 
> > > $ out/ia32.debug/cctest --random-seed=-2035604219 --stress-opt
--always-opt
> > > test-api/FastReturnValuesWithProfiler --nohard-abort
> --nodead-code-elimination
> > > --nofold-constants --enable-slow-asserts --debug-code --verify-heap
> > >
> >
>
--testing_serialization_file=out/.serdes/serdes_FastReturnValuesWithProfiler__stress_opt__always_opt
> > > $
> > 
> > Benedikt: This only happened once on the bot from what I can see.  Are you
> sure
> > it wasn't just flake?
> 
> I've been running this in a loop on various machines all afternoon without
> reproducing.  I've tried the commit referenced above, the one immediately
after
> (where the bot reported it), and the latest code with the constant pool change
> re-applied.  No failures.

Let's assume this was flake. Go ahead and reland your CL and keep an eye on this
specific bot when you do so in case it turns out to be something which only
repos on the bot.

Powered by Google App Engine
This is Rietveld 408576698